This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: __hidden_ver1() macro handles USER_LABEL_PREFIX incorrectly ?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 16 Jan 2006 12:41:06 -0500
- Subject: Re: __hidden_ver1() macro handles USER_LABEL_PREFIX incorrectly ?
- References: <200601151723.08186.vapier@gentoo.org>
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