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: hjl.tools at gmail dot com
Subject: [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0
Date: Sun, 26 May 2024 14:18:17 +0000

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

--- Comment #24 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to mintsuki from comment #22)
> As far as I can tell, the linked issue seems to indicate more so that this
> is indeed a problem rather than some glibc bug.
> 
> Does glibc crash without any patch if you patch ld.bfd to create an ET_DYN
> instead?

My ld ET_EXEC change predates static PIE.  lld generates ET_DYN and there is
no way for static PIE with non-zero load address to work if marked ET_DYN.

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