https://sourceware.org/bugzilla/show_bug.cgi?id=17592
--- Comment #3 from Michael Matz <matz at suse dot de> --- (In reply to H.J. Lu from comment #2) > It is an interesting idea. Yeah, that's how I tested the large model back in the days when I implemented some of it. Never got around to actually change the PLT layout. > If we place .plt just after .text, there > may be readonly sections before .got, the distance between .plt and > .got.plt can still be big. Yes, unfortunately. > If we place .plt just before .got, the > text segment will have text, readonly data and followed by text. Do > we want to do that? At least it wouldn't change the executable view of the ELF files, those sections would still be contained in the read-only-exec segment. Also the GNU_RELRO (writable, but only during loading) part could be moved after .got. Thereby .got would be first in the RW segment and .plt last in the RE segment, right next to each other. -- 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