Blackfin FDPIC patch 4/N: dl_debug_state

Mike Frysinger vapier at gentoo.org
Sat Oct 7 06:49:02 UTC 2006


On Wednesday 04 October 2006 15:29, Alexandre Oliva wrote:
> On Oct  4, 2006, Bernd Schmidt <bernds_cb1 at t-online.de> wrote:
> > Another piece from Alexandre's original patch; this one changes one of
> > ld.so's functions to use hidden visibility.  I have to admit I'm not
> > entirely clear on what would happen if we didn't do this.
>
> We'd need a global function descriptor for this function, which IIRC
> triggered issues with relocation bootstrapping.
>
> Given that we don't want _dl_debug_state to be overridable (otherwise
> making it protected doesn't make sense), and I don't see the point of
> even making it visible, perhaps we just want _dl_debug_state to be
> hidden itself?

glibc seems to export the symbol and then create an internal alias for the 
rest of the ldso to refer to ... i think that would work for us as well
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20061007/1a1b2881/attachment-0002.pgp 


More information about the uClibc mailing list