This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there a way to force ET_DYN with an executable ?


On Sat, Nov 16, 2019 at 05:56:18PM -0600, William Tambe wrote:
> Elf executable typically use ET_EXEC, but is there a way to force an
> architecture linker to always set ET_DYN ?

Sure.  Have a look at elf_backend_init_file_header and
elf_backend_modify_headers, newly committed.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]