This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: Linker warning messages should have the word 'warning' in them.


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


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