https://sourceware.org/bugzilla/show_bug.cgi?id=19091
--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> --- Even with no GOT, not PLT, and no function descriptors, it's possible to have code which accesses local data via @GOTOFF displacements. If DT_PLTGOT is not emitted in the output _DYNAMIC, there is no way for the caller (which gets the GOT value from the dynamic linker, which in turn gets it from DT_PLTGOT) to provide a correct GOT pointer when calling into the library, and thus any data accesses via @GOTOFF displacements will be wrong. I think DT_PLTGOT simply must always be emitted in FDPIC output. Would something break if the size of the GOT is 0? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils