Blackfin FDPIC patch 4/N: dl_debug_state

Alexandre Oliva aoliva at redhat.com
Wed Oct 4 19:29:00 UTC 2006


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?

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America        http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the uClibc mailing list