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 static PIEs when lo


From: mintsuki at protonmail dot com
Subject: [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0
Date: Sat, 25 May 2024 13:04:40 +0000

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

--- Comment #3 from mintsuki <mintsuki at protonmail dot com> ---
Also, when generating a shared object with -shared, without -pie, having a
non-0 base address does not affect the ELF file type, which is always ET_DYN.
If what you just said is true, then why is this the behaviour here and not when
making a static PIE?

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