bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23428] ld does not put program headers in a code-only load segme


From: bugdal at aerifal dot cx
Subject: [Bug ld/23428] ld does not put program headers in a code-only load segment
Date: Thu, 19 Jul 2018 22:04:27 +0000

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

--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> ---
I don't object to the patch as-is, but wouldn't it make more sense to make the
program headers a first-class section with attribute alloc, so that they're
semantically forced to be visible at runtime rather than just happening to fall
into a load segment that exists due to other sections? This fix would be
target-agnostic and would prevent the issue from ever arising for other
targets.

-- 
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]