https://sourceware.org/bugzilla/show_bug.cgi?id=21448
--- Comment #4 from Alan Modra <amodra at gmail dot com> --- Shared library code is affected, losing an optimization for protected visibility variables, but the reason you see a .dynbss/.data.rel.ro copy of shared lib variables and copy relocs is code in the *executable*. Yes, we could use an extra PT_LOAD in the middle of the relro area but not quite as you say. The linker generated .data.rel.ro would be put into memsz of the first PT_LOAD, with the remainder of relro and other sections in the second. There would be some disk wasted due to needing to keep vma mod maxpage equal to offset mod maxpage. I haven't looked at whether this would require changes to glibc ld.so. -- 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