svn commit: trunk/uClibc: libc libc/sysdeps/linux/alpha/bits libc etc...

bernds at uclibc.org bernds at uclibc.org
Thu Jan 17 11:11:20 PST 2008


Author: bernds
Date: 2008-01-17 11:11:18 -0800 (Thu, 17 Jan 2008)
New Revision: 20863

Log:
A patch from our Blackfin repository, originally from Jie Zhang.  This fixes
a problem where the linker was trying to use the wrong symbol name for the
init function.

Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960,
microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets
which define SYMBOL_PREFIX as _. Remove defines and undefs from
uClibc_arch_features.h of each target.
Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.




Modified:
   trunk/uClibc/Rules.mak
   trunk/uClibc/libc/Makefile.in
   trunk/uClibc/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/e1/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/i960/README
   trunk/uClibc/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/nios/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/vax/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h
   trunk/uClibc/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/Rules.mak	2008-01-17 19:11:18 UTC (rev 20863)
@@ -276,6 +276,7 @@
 endif
 
 ifeq ($(TARGET_ARCH),h8300)
+	SYMBOL_PREFIX=_
 	CPU_LDFLAGS-$(CONFIG_H8300H)+= -Wl,-ms8300h
 	CPU_LDFLAGS-$(CONFIG_H8S)   += -Wl,-ms8300s
 	CPU_CFLAGS-$(CONFIG_H8300H) += -mh -mint32
@@ -310,6 +311,7 @@
 endif
 
 ifeq ($(TARGET_ARCH),bfin)
+	SYMBOL_PREFIX=_
 ifeq ($(UCLIBC_FORMAT_FDPIC_ELF),y)
 	CPU_CFLAGS-y:=-mfdpic
 	CPU_LDFLAGS-y += -Wl,-melf32bfinfd
@@ -338,6 +340,18 @@
        CPU_LDFLAGS-$(CONFIG_LINKRELAX) += --relax
 endif
 
+ifeq ($(TARGET_ARCH),i960)
+      SYMBOL_PREFIX=_
+endif
+
+ifeq ($(TARGET_ARCH),microblaze)
+      SYMBOL_PREFIX=_
+endif
+
+ifeq ($(TARGET_ARCH),v850)
+      SYMBOL_PREFIX=_
+endif
+
 # Keep the check_gcc from being needlessly executed
 ifndef PIEFLAG
 ifneq ($(UCLIBC_BUILD_PIE),y)
@@ -533,6 +547,10 @@
 CFLAGS+=-DNDEBUG
 endif
 
+ifeq ($(SYMBOL_PREFIX),_)
+CFLAGS+=-D__UCLIBC_UNDERSCORES__
+endif
+
 # Keep the check_as from being needlessly executed
 ifndef ASFLAGS_NOEXEC
 ifeq ($(UCLIBC_BUILD_NOEXECSTACK),y)

Modified: trunk/uClibc/libc/Makefile.in
===================================================================
--- trunk/uClibc/libc/Makefile.in	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/Makefile.in	2008-01-17 19:11:18 UTC (rev 20863)
@@ -15,7 +15,7 @@
 VERSION_SCRIPT := -Wl,--version-script,$(VERSION_SCRIPT)
 endif
 
-LDFLAGS-libc.so := $(LDFLAGS) $(VERSION_SCRIPT) -Wl,-init,__uClibc_init
+LDFLAGS-libc.so := $(LDFLAGS) $(VERSION_SCRIPT) -init $(SYMBOL_PREFIX)__uClibc_init
 
 LIBS-libc.so := $(interp) $(ldso) $(top_builddir)lib/$(NONSHARED_LIBNAME)
 

Modified: trunk/uClibc/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #define __UCLIBC_SLIGHTLY_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #undef __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #define __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -21,9 +21,6 @@
 /* does your target have to worry about older [gs]etrlimit() ? */
 #undef __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -23,9 +23,6 @@
 /* does your target have to worry about older [gs]etrlimit() ? */
 #undef __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #define __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/e1/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/e1/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/e1/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -21,9 +21,6 @@
 /* this is only an issue on i386 where linux < 2.3.25, so we just assume it works ... */
 #undef __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/i960/README
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i960/README	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/i960/README	2008-01-17 19:11:18 UTC (rev 20863)
@@ -16,8 +16,9 @@
 --------------------
 
 As the i960 compiler prepends an underscore to symbols, it is critical that
-bits/uClibc_arch_features.h defines __UCLIBC_UNDERSCORES__
-to make sure that underscores are applied to symbol names when needed.
+Rules.mak defines SYMBOL_PREFIX as _, such that -D__UCLIBC_UNDERSCORES__
+is added to CFLAGS to make sure that underscores are applied to symbol
+names when needed.
 
 
 __va_copy in va-i960.h

Modified: trunk/uClibc/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #define __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -24,9 +24,6 @@
 /* does your target have to worry about older [gs]etrlimit() ? */
 #define __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #undef __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/nios/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/nios/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/nios/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -21,9 +21,6 @@
 /* this is only an issue on i386 where linux < 2.3.35, so we just assume it works ... */
 #undef __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -24,9 +24,6 @@
 /* does your target have to worry about older [gs]etrlimit() ? */
 #define __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -18,9 +18,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/vax/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/vax/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/vax/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -17,9 +17,6 @@
 /* does your target have a broken create_module() ? */
 #undef __UCLIBC_BROKEN_CREATE_MODULE__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 

Modified: trunk/uClibc/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h	2008-01-17 12:42:53 UTC (rev 20862)
+++ trunk/uClibc/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h	2008-01-17 19:11:18 UTC (rev 20863)
@@ -20,9 +20,6 @@
 /* does your target have to worry about older [gs]etrlimit() ? */
 #undef __UCLIBC_HANDLE_OLDER_RLIMIT__
 
-/* does your target prefix all symbols with an _ ? */
-#undef __UCLIBC_UNDERSCORES__
-
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 



More information about the uClibc-cvs mailing list