[Bug ld/27119] ld improperly relocates function address, creating an invalid pointer

2020-12-28 Thread me at rhysre dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=27119 --- Comment #2 from Rhys Rustad-Elliott --- (In reply to H.J. Lu from comment #1) > Please try > > [hjl@gnu-cfl-2 pr27119]$ cat link.lds > OUTPUT_FORMAT("elf64-x86-64") > OUTPUT_ARCH(i386:x86-64) > ENTRY(_start) > > SECTIONS > { > . = 0x0

[Bug ld/27119] ld improperly relocates function address, creating an invalid pointer

2020-12-27 Thread me at rhysre dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=27119 Rhys Rustad-Elliott changed: What|Removed |Added CC||me at rhysre dot net -- You

[Bug ld/27119] New: ld improperly relocates function address, creating an invalid pointer

2020-12-27 Thread me at rhysre dot net
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: me at rhysre dot net Target Milestone: --- Originally brought up this here: https://gcc.gnu.org/pipermail/gcc/2020-December/234571.html, was told to file it here. Overview