bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for PIEs when load addr


From: nighti at nighti dot dev
Subject: [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for PIEs when load address is non-0
Date: Sat, 17 Aug 2024 12:25:54 +0000

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

Nightishaman <nighti at nighti dot dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nighti at nighti dot dev

--- Comment #69 from Nightishaman <nighti at nighti dot dev> ---
To be fair, we shouldn't still rely on a small hack to fix a small bug. We have
specifications specifically to have predictability and this seems nowhere
documented in the ELF specification. Also, I think a project such as binutils,
which is used by many other operating system, shouldn't be hindered by
GNU/Linux because it is more popular. If you were to apply such a hack inside
the Linux kernel, Torvalds would reject the commit.

So please, remove this, and make ld.bfd more predictable like the other
linkers.

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