[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6446] Handling of EF_FRV_PIC
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/6446] Handling of EF_FRV_PIC |
Date: |
21 May 2008 10:34:13 -0000 |
------- Additional Comments From nickc at redhat dot com 2008-05-21 10:34
-------
Subject: Re: New: Handling of EF_FRV_PIC
Hi Guys,
> Another bug found by inspection. The ABI says:
>
> The linker should warn and clear EF_FRV_PIC when linking
> FDPIC binaries if it finds any inter-segment relocation, and set it
> otherwise.
>
> But in fact the linker sets EF_FRV_PIC if it sees any inter-segment
> relocations.
I have uploaded a patch to this PR which I think might correct the
linker's behaviour, but I am not familiar with FDPIC on the FRV so I may
well have made a mistake. Would you guys care to take a look at it ?
> There's hardcoded checks for files named "crt0.o" directly above that, too.
I am not sure about whether this is important or not, so I have the
special case code in.
Cheers
Nick
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6446
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.