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: Tue, 28 May 2024 16:01:11 +0000

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

--- Comment #51 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to mintsuki from comment #50)

> > Why can't you check DF_1_PIE for PIE?
> 
> That is what I do now, but to check for *relocatability*. PIE in and of
> itself is not something that tells me whether I should relocate (for KASLR
> for example) or not. That is what you just said.

If DF_1_PIE is set, the binary can be relocated to any address. What did I
miss?

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