RFC: ABI support for special memory area
Florian Weimer
fweimer@redhat.com
Sun Jan 1 00:00:00 GMT 2017
On 03/15/2017 11:03 PM, H.J. Lu wrote:
> After all shared objects and the executable file are loaded, relocations
> are processed, for each GNU_MBIND segment in a shared object or the
> executable file, run-time loader calls __gnu_mbind_setup with type,
> address and length. The default implementation of __gnu_mbind_setup is
Is there a specified invocation order for the segments?
Does the call happen immediately after relocations for an object are
processed, or only after relocations for all objections are processed?
If the latter, why can't you use the existing ELF constructor mechanism
for this? As far as I understand it, the call to __gnu_mbind_setup
would just happen before the constructor calls.
Thanks,
Florian
More information about the Gnu-gabi
mailing list