This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Creating arbitrary dynamic tags with BFD ld
* Alan Modra:
> 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.
Is there a way to get the default linker script fragment for PHDRS?
ld --verbose doesn't seem to include it.
Thanks,
Florian