please prepend "warning: " to messages emitted because of .gnu.warning sections

Nick Clifton nickc@redhat.com
Fri Aug 1 13:42:00 GMT 2003


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.

Cheers
        Nick
        



More information about the Binutils mailing list