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

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Sep 27 11:23:11 UTC 2007


On Thu, 2007-09-27 at 11:42 +0200, Carmelo AMOROSO wrote:
> Carmelo AMOROSO wrote:
> > Carmelo AMOROSO wrote:
> > [snip]
> >> How create and empty hash table [GNU/sysv], I don't know... but if 
> >> this could happen, then the check is correct.
> >>   
> > [snip]
> > I have asked the libc-alpha ML about this question,
> > see reply from Jakub Jelinek ( 
> > http://sources.redhat.com/ml/libc-alpha/2007-09/msg00073.html)
> >
> > This should confirm the validity for this check, even if a DSO without 
> > exported symbols,
> > sounds pointless to me... but this prevent the linker to "segfault".
> >
> > Regards,
> > Carmelo
> >
> Further reply from John Reiser at libc-alpha ML on same question.
> 
> see: http://sources.redhat.com/ml/libc-alpha/2007-09/msg00075.html
> 

OK, I am convinced. Add the test.

 Jocke



More information about the uClibc mailing list