This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Bug gas/m68k] parse error with m68k-aout targets
Gunther Nikl <gni@gecko.de> writes:
> > Are you using gcc? If so, which version?
>
> Yes, the error surfaced with GCC. I was using GCC 3.4.3 to build
> binutils 2.14. Now I checked other GCC versions (2.95.x, 3.3.x,
> 4.0.0 and an oldish 4.1.0) and all do add an underscore to the
> variable name. All GCC 3.4.x versions "forget" the underscore :-/
> It seems this is a GCC 3.4.x only bug affecting a.out targets: with
> i386-aout and m68k-aout the underscore is missing. The bug is still
> present with prerelease-3.4.5-20051128. I guess I should file a bug
> report. Can you give me a pointer where the bug might be?
This may be related to PR 14516 (http://gcc.gnu.org/PR14516).
In general, if USER_LABEL_PREFIX is defined correctly (which is
probably the case since otherwise no symbol would have a leading
underscore), this is some error in the use of user_label_prefix.
Ian