please prepend "warning: " to messages emitted because of .gnu.warning sections
Zack Weinberg
zack@codesourcery.com
Fri Aug 1 16:42:00 GMT 2003
Nick Clifton <nickc@redhat.com> writes:
> Hi Zack,
>
>> Yeah. Except, I'm confused, it looks like this adds the prefix
>> twice.
>
> No, it adds it once for .gnu.warning.SYMBOL-NAME sections and once for
> .gnu.warning sections. They are slightly different. The contents of
> .gnu.warning sections are emitted as warning messages if they are
> present in the output file. The contents of a .gnu.warning.SYMBOL-NAME
> section are emitted only if SYMBOL-NAME is referenced by the linked
> code.
Ah ok. Thanks for the clarification.
zw
More information about the Binutils
mailing list