[RFC] SHF_GNU_RETAIN ELF Section Flag

Florian Weimer fweimer@redhat.com
Wed Sep 16 13:11:20 GMT 2020


* Jozef Lawrynowicz:

> I suppose the most compelling use cases for SHF_GNU_RETAIN are when the
> dependency cannot be expressed with references to ELF sections. You
> can't use SHF_GROUP because there is nothing to group the section with.

But if there is nothing to group the section with, why would the link
editor load the object?

That's the part I don't understand.

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