Is there a way to force ET_DYN with an executable ?

Alan Modra amodra@gmail.com
Mon Nov 18 11:58:00 GMT 2019


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



More information about the Binutils mailing list