demand_empty_rest_of_line and ignore_rest_of_line
Hans-Peter Nilsson
hp@bitrange.com
Sat Apr 24 17:36:00 GMT 2004
On Fri, 23 Apr 2004, Andreas Schwab wrote:
> This means that the unknown character is no longer ignored, despite the
> comment. As a side effect a line starting with a line comment character
> not followed by APP in NO_APP mode now triggers an error instead of just a
> warning, breaking builds of glibc on m68k-linux.
For the record, there aren't supposed to *be* any comments in
#NO_APP mode; just strict formatted assembly code and #APP of
course. That's what it means.
If the glibc __sec_comment kludge is the problem, let me mention
that different patches have been sent to glibc in order to make
its kludge work properly(!) at least one that adds #NO_APP and
I'm sure would work, but it seems none have been applied.
Of course, we could do something that lets glibc emit its
.gnu.warning.* sections without assembler warnings, and avoid
using the __sec_comment kludge where the new thing is supported.
brgds, H-P
More information about the Binutils
mailing list