__hidden_ver1() macro handles USER_LABEL_PREFIX incorrectly ?

Daniel Jacobowitz drow@false.org
Mon Jan 16 17:41:00 GMT 2006


On Sun, Jan 15, 2006 at 05:23:08PM -0500, Mike Frysinger wrote:
> i'm playing with the blackfin target which defines USER_LABEL_PREFIX to "_" 
> and i seem to be ending up with symbols with too many _ prefixes ... i traced 
> it back to the libc_hidden_def() macro in libc-symbols.h

My experience is that this is far from the only problem you're going to
have on a target with USER_LABEL_PREFIX and dynamic loading.  It's just
not worth it.  Turn it off for GNU/Linux ports.

Next example: dlsym.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Libc-alpha mailing list