https://sourceware.org/bugzilla/show_bug.cgi?id=20475
--- Comment #1 from whitequark at whitequark dot org ---
The previous comment is not quite right.
1) The _GLOBAL_OFFSET_TABLE_ did not point at the end of .got.plt but at the
start.
2) This is a bug in the architecture-independent ELF backend.
https://sourceware.org/bugzilla/show_bug.cgi?id=20475
--- Comment #2 from whitequark at whitequark dot org ---
Created attachment 9439
--> https://sourceware.org/bugzilla/attachment.cgi?id=9439&action=edit
Patch
--
You are receiving this mail because:
You are on the CC list for the bug.
__
https://sourceware.org/bugzilla/show_bug.cgi?id=20475
Bug ID: 20475
Summary: Linking PIC executables with a linker script that does
not place _GLOBAL_OFFSET_TABLE_ results in incorrect
relocation
Product: binutils