[PATCH] _dl_find_hash: skip lookup if the DSO hasn't an hash table

Mike Frysinger vapier at gentoo.org
Mon Sep 24 12:01:53 UTC 2007


On Wednesday 19 September 2007, Carmelo AMOROSO wrote:
> Mike Frysinger wrote:
> > On Wednesday 19 September 2007, Carmelo AMOROSO wrote:
> >> attached patch for the ld.so checks that during symbol lookup
> >> process, the DSO has an hash table, otherwise we need to skip
> >> over the next into the list.
> >
> > idle curiosity, how did you generate a DSO w/out a hash table ?  or is
> > this a "it's got a GNU hash table but not a SYSV hash table" ?
>
> I didn't actually... could be considered in preparation of supporting
> GNU hash style.
>
> Anyway, looking at the _dl_add_elf_hash_table, there is a null check for
> the dynamic_info[DT_HASH],
> that, should be alway not null, being initialized by
> "_dl_parse_dynamic_info", so for coherence I added that check
>
> Discard this patch if you think currently not pointless.

i'm not saying the patch is pointless, just curious as to why you were 
proposing it in the first place
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070924/a6cee275/attachment-0002.pgp 


More information about the uClibc mailing list