[RFC] Fix MIPS strong_alias definition in libc-internal.h

Mike Frysinger vapier at gentoo.org
Sat Jan 14 20:11:51 UTC 2006


On Saturday 14 January 2006 14:02, Steven J. Hill wrote:
> I wanted comments on this patch before applying it. This change
> is necessary in order for MIPS to build with the latest GCC-4.1.0
> series compilers, otherwise I get a warning message from the
> assembler and the alias is not defined leading to undefined symbols
> during linking. I am guessing that this works for GCC-3.x compilers
> and maybe even the GCC-4.0 and GCC-4.2 series. Comments please.

i dont think it's a gcc issue considering that macro is only used in .S files

rather than adding arch-specific stuff right in the middle, we should prob 
copy the stuff from glibc and create one section where the macro's 
HAVE_ASM_SET_DIRECTIVE, HAVE_ASM_GLOBAL_DOT_NAME, etc... are all set 
accordingly based upon arch-specific cruft
-mike



More information about the uClibc mailing list