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.
There's hardcoded checks for files named "crt0.o" directly above that, too.
--
Summary: Handling of EF_FRV_PIC
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: drow at sources dot redhat dot com
CC: bug-binutils at gnu dot org
GCC target triplet: frv-uclinux
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.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils