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
On Tue, Nov 29, 2005 at 09:06:26AM -0800, Ian Lance Taylor wrote:
> 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).
Yes, this pr seems to describe the problem. Unfortunately no solution
is offered, worse the bug was classified as "no fix for 3.4" - thats
a bit surprsining for me. And I don't want to switch to 4.0.
What about your patch in the audit trail? What other problems does
it cause?
> 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.
Only 3.4 has this problem, all other GCC versions are fine.
Gunther