FD-PIC patches for uClibc
Bernd Schmidt
bernds_cb1 at t-online.de
Sat Dec 1 05:43:52 PST 2007
Carmelo Amoroso wrote:
> with the solution proposed into the nptl branch, you can keep the caller
> of _dl_find_hash always the same. Where the extra tpnt parameter is not
> required,
> independently from TLS or FDPIC code, like into ldso.c to lookup
> some function (malloc), you can safely pass NULL for it.
> In all other cases, you need simply to pass the extra tpnt, and the
> _dl_find_hash
> wrapper will pass it to the real function _dl_lookup_hash accordingly.
> This has been discussed in the past with Jocke to allow a simpler merge
> among
> trunk and branch.
To be honest, I don't see how this is simpler in any way than keeping
_dl_find_hash the way it is now, and only changing the function calls
which need the new functionality to call _dl_lookup_hash. Seems like
there would be less merge effort?
> Hopefully I could commit them next week... not access to svn right now.
I have commit access. If we can get consensus I can apply them.
Bernd
--
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
More information about the uClibc
mailing list