RFC: ABI support for special memory area
Carlos O'Donell
carlos@redhat.com
Sun Jan 1 00:00:00 GMT 2017
On 03/03/2017 11:00 AM, H.J. Lu wrote:
> __gnu_mbind_setup is called from ld.so. Since there is only one ld.so,
> it needs to know what to pass to __gnu_mbind_setup. Not all arguments
> have to be used by all implementations nor all memory types.
I think what Supra is suggesting is a pointer-to-implementation interface
which would allow ld.so to pass completely different arguments to the
library depending on what kind of memory is being defined by the sh_info
value. It avoids needing to encode all the types in the API, and just
uses an incomplete pointer to the type.
--
Cheers,
Carlos.
More information about the Gnu-gabi
mailing list