binutils 2.8.1.0.20
Ian Lance Taylor
ian@cygnus.com
Thu Feb 5 10:44:00 GMT 1998
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.
Ian
More information about the Gcc
mailing list