This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld error/warning messages


On Mon, Feb 26, 2018 at 04:24:22PM -0800, Steve Ellcey wrote:
> It looks like the important difference is 'In function' (capital I) vs.
> 'in function' (lowercase i).  That is why this line is no longer
> getting pruned the way it did before.
> 
> We could get the GCC testsuite to prune this line with a change
> to prune_gcc_output in gcc/testsuite/lib/prune.exp but I am not 
> sure if that is what we want to do or if you meant to use a capital
> I in this case and the lower case i is a bug.

See https://www.gnu.org/prep/standards/standards.html#Errors
"The string message should not begin with a capital letter when it
follows a program name and/or file name.."

So yes, I meant to use the lower case "in function".  Adding the
program name for ld was deliberate too.

Hmm.
// Ignore additional messages on Linux/x86 with PIE
// { dg-prune-output "Bad value" } */
That one is not going to match either.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]