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 Tue, May 06, 2003 at 09:11:22AM +0930, Alan Modra wrote:
> 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.
So, the two SREC tests should XFAIL so to speak when --fPIC/fpic is
used?
If so, how would one write that for dejagnu? Check if -fPIC/-fpic is
used and if so, mark the tests as XFAIL, I mean.
Cheers,
/ChJ