This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: binutils 2.8.1.0.20
- To: ian at cygnus dot com (Ian Lance Taylor)
- Subject: Re: binutils 2.8.1.0.20
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 5 Feb 1998 08:15:15 -0800 (PST)
- Cc: hjl at lucon dot org, jgotts at engin dot umich dot edu, egcs at cygnus dot com
>
> From: hjl@lucon.org (H.J. Lu)
> Date: Thu, 5 Feb 1998 08:03:16 -0800 (PST)
>
> > I think this release might be a bit buggy.
> >
> > This compiling octave 2.0.9.98:
> >
> > g77 -c -fPIC -O3 scaleg.f -o pic/scaleg.o
> > /tmp/cca19344.s: Assembler messages:
> > /tmp/cca19344.s:135: Error: unrecognized characters `@GOTOFF(%ebx)' in expression
>
> I was told that the old binutils and g77/gcc were wrong on that.
> I understand both binutils and g77/gcc are fixed in the latest
> version. Ian, Richard, am I right? BTW, can Richard's patch
> go into 1.0.2?
>
> I believe this is correct. gcc used to incorrectly put @GOTOFF at the
> end of the instruction, and gas used to silently ignore it.
>
> Ian, Richard, did the old binutils and g77/gcc generate working binary
> on that?
>
> I believe the code did work, but arguably not correctly. The wrong
> relocation type was generated, so you would up with a relocation in
> your .text segment which the dynamic linker would have to resolve.
>
I see. Can gas issue a warning instead an error since the currunt gcc
is not fixed yet?
Thanks.
--
H.J. Lu (hjl@gnu.org)