This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Creating arbitrary dynamic tags with BFD ld
- From: Alan Modra <amodra at gmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 15 Oct 2019 22:45:15 +1030
- Subject: Re: Creating arbitrary dynamic tags with BFD ld
- References: <87blv23s8c.fsf@oldenburg2.str.redhat.com> <20190930135936.GC20197@bubble.grove.modra.org> <87mue2dy5t.fsf@oldenburg2.str.redhat.com>
On Tue, Oct 15, 2019 at 01:51:42PM +0200, Florian Weimer wrote:
> Very interesting. Out of curiosity, is there something similar for
> program header tags?
Yes, the PHDRS command lets you generate arbitrary header types. But
then you'll need to specify all the headers and handle assignment of
sections to headers in the script too.
--
Alan Modra
Australia Development Lab, IBM