This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Is there a way to force ET_DYN with an executable ?
- From: Alan Modra <amodra at gmail dot com>
- To: William Tambe <tambewilliam at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 18 Nov 2019 22:28:33 +1030
- Subject: Re: Is there a way to force ET_DYN with an executable ?
- References: <CAF8i9mPk=CDV7F1z2j2AnGtzfMZ8ccnc3ZnWcwULWMnxwaG+HQ@mail.gmail.com>
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