[PATCH] Make dladdr() work with GNU_HASH

Carmelo Amoroso carmelo73 at gmail.com
Sun Dec 9 19:27:48 UTC 2007


Nickolai Zeldovich wrote:
> The attached patch makes dladdr() work with GNU_HASH files.  Without 
> this patch, calling dladdr() on a symbol that came from a GNU_HASH file 
> dereferences garbage pointers.
> 
> Nickolai.
> 
Same comments for SYSV patch. Anyway the dladdr needs to handle the GNU_HASH
case; it was a my fault missing it when integrated the GNU_HASH support.

Cheers,
Carmelo



More information about the uClibc mailing list