https://sourceware.org/bugzilla/show_bug.cgi?id=22423
Paul Pluzhnikov <ppluzhnikov at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppluzhnikov at google dot com --- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> --- > It was reasonable 20 years ago. Normally PT_PHDR overlaps with the first PT_LOAD. If you keep that, the flags on PT_PHDR don't matter (the first PT_LOAD will have PF_X). If you don't keep the overlap, you'll waste an entire page for 64-byte PT_PHDR. Also, a lot of programs assume that the first PT_LOAD "covers" PT_PHDR and starts with ElfW(Ehdr). It's not guaranteed, but it has been true for the last 20 years. You'll break all such programs. -- 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