[RFC] SHF_GNU_RETAIN ELF Section Flag
Florian Weimer
fweimer@redhat.com
Tue Sep 15 12:09:22 GMT 2020
* Jozef Lawrynowicz:
> I'd like to propose a new ELF section flag, SHF_GNU_RETAIN, for addition
> to the GNU gABI.
>
> This flag instructs the linker to "retain" the section in the output
> file, even if garbage collection would remove it because it appears
> unused.
How does this flag interaction with libraries (.a files)?
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Gnu-gabi
mailing list