bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26378] [2.35 regression] incorrect WAX section flags in linker o


From: amodra at gmail dot com
Subject: [Bug ld/26378] [2.35 regression] incorrect WAX section flags in linker output
Date: Sat, 12 Sep 2020 00:04:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26378

--- Comment #9 from Alan Modra <amodra at gmail dot com> ---
Yes, noload behaviour does not match the documentation.  Worse, noload has
evolved to mean different things depending on object file format.  See
https://sourceware.org/pipermail/binutils/2010-September/068723.html and other
messages in that and following months with the subject "SEC_NEVER_LOAD
cleanup".

As far as the SHF_WRITE flag goes, that is of course the normal thing for bss
style sections.  I do understand why you might want a bss style .plt read-only
(with ld.so flipping page protection bits to write and initialise the contents)
so I'm not saying ld can't change, just explaining the current situation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]