This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Providing C level symbols via linker scripts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]