Linker warning messages should have the word 'warning' in them.

Zack Weinberg zack@codesourcery.com
Fri Aug 1 08:38:00 GMT 2003


Roland McGrath <roland@redhat.com> writes:

>> Since the section name is .gnu.warning (and not
>> .gnu.linker-diagnostic), perhaps the linker should prepend `warning:'
>> to any such messages?
>
> I think that makes the most sense.  If ld were to have something like
> -Werror, then it would be inappropriate for the messages to say "warning:"
> when they were in fact aborting the ld run.  Since ld is in charge of
> whether or not the message is fatal, ld should be in charge of saying so.

Good point.  I'll bring this up to the binutils folks.

zw



More information about the Libc-alpha mailing list