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: Sat, 25 May 2024 13:13:55 +0000

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to mintsuki from comment #3)
> 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

You can't load the multiple shared libraries at the overlapping address range.

> ET_DYN. If what you just said is true, then why is this the behaviour here
> and not when making a static PIE?

A testcase?

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