https://sourceware.org/bugzilla/show_bug.cgi?id=20114
maamountki <maamountk at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11439|0 |1 is obsolete| | --- Comment #4 from maamountki <maamountk at hotmail dot com> --- Created attachment 11705 --> https://sourceware.org/bugzilla/attachment.cgi?id=11705&action=edit Partial relro support for gold Now it is, As Andreas Krebbel did with ld, This patch separate .got and .got.plt sections, swap them and assign the 3 magic GOT entries at the beginning of .got section so _GLOBAL_OFFSET_TABLE_ will point to the beginning of all GOT entries. Same as ld after relro support the GOT layout in gold now look like this with this patch: +----------------------------------+ |got[0]: DYNAMIC | <--- _GLOBAL_OFFSET_TABLE_ == DT_PLTGOT .got |got[1]: link_map parm | |got[2]: &_dl_runtime_resolve | +----------------------------------+ | | non-plt GOT entries | | | | +----------------------------------+ | | <--- .gotplt, PLT GOT entries | | | | | | +----------------------------------+ -- 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