This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: please prepend "warning: " to messages emitted because of.gnu.warning sections
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