This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Results for binutils 2.14.90 20030505 testsuite on i686-pc-linux-gnu
On Mon, May 05, 2003 at 07:39:34PM +0200, Christian Joensson wrote:
> So, what might the trouble be with the SREC stuff when compiling with
> -fPIC/-fpic?
The srec linker only handles generic relocations. Anything slightly
"magic", like GOT or PLT relocs, won't work. GOT and PLT relocs set
up space in the .got and/or .plt (the "magic" bit) as well as
relocating an instruction.
--
Alan Modra
IBM OzLabs - Linux Technology Centre