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:43:07 +0000

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

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

I was asking a testcase of static PIE where ELF type wasn't EXEC when a load
address was specified.

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