Providing C level symbols via linker scripts
Mike Frysinger
vapier@gentoo.org
Tue Mar 21 20:40:00 GMT 2006
On Tuesday 21 March 2006 10:00, Dave Korn wrote:
> 4. use some autoconf magic in uclibc so that it can know whether the
> C-level symbols have an extra underscore or are the same as the asm-level
> symbols according to the target, then use a macro (that either does or does
> not paste an extra underscore on the front of a label name accordingly) to
> wrap references in the C files to any of the assembler-level symbols that
> are needed.
uClibc is completely make based so using autoconf is pretty much out of the
question ... gcc exports the prefix already though via the
__USER_LABEL_PREFIX__ define and uClibc utilizes that when generating asm
symbol names ...
-mike
More information about the Binutils
mailing list