summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/Configs/Config.h83001
-rw-r--r--extra/Configs/Config.i9604
-rw-r--r--extra/Configs/Config.in.arch5
-rw-r--r--extra/Configs/Config.microblaze1
-rw-r--r--extra/Configs/Config.v8501
-rw-r--r--include/libc-internal.h2
-rw-r--r--libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h2
-rw-r--r--libc/sysdeps/linux/i960/bits/uClibc_arch_features.h2
-rw-r--r--libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h2
-rw-r--r--libc/sysdeps/linux/v850/bits/uClibc_arch_features.h2
10 files changed, 5 insertions, 17 deletions
diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300
index 1c9836708..57fbe8fdd 100644
--- a/extra/Configs/Config.h8300
+++ b/extra/Configs/Config.h8300
@@ -6,7 +6,6 @@
config HAVE_ELF
bool
select ARCH_HAS_NO_MMU
- select ARCH_HAS_C_SYMBOL_PREFIX
default y
config ARCH_SUPPORTS_BIG_ENDIAN
diff --git a/extra/Configs/Config.i960 b/extra/Configs/Config.i960
index 0000758b2..336b3d69a 100644
--- a/extra/Configs/Config.i960
+++ b/extra/Configs/Config.i960
@@ -22,7 +22,3 @@ config ARCH_CFLAGS
config LIBGCC_CFLAGS
string
-
-config ARCH_HAS_C_SYMBOL_PREFIX
- bool
- default y
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch
index d0832fb68..bce5a0b55 100644
--- a/extra/Configs/Config.in.arch
+++ b/extra/Configs/Config.in.arch
@@ -103,11 +103,6 @@ config EXCLUDE_BRK
depends on !ARCH_HAS_MMU
default y
-config C_SYMBOL_PREFIX
- string
- default "_" if ARCH_HAS_C_SYMBOL_PREFIX
- default "" if !ARCH_HAS_C_SYMBOL_PREFIX
-
config HAVE_DOT_CONFIG
bool
default y
diff --git a/extra/Configs/Config.microblaze b/extra/Configs/Config.microblaze
index 3066f3c32..4eb2e3d4a 100644
--- a/extra/Configs/Config.microblaze
+++ b/extra/Configs/Config.microblaze
@@ -9,7 +9,6 @@ config TARGET_ARCH
config HAVE_ELF
bool
select ARCH_HAS_NO_MMU
- select ARCH_HAS_C_SYMBOL_PREFIX
default y
config ARCH_SUPPORTS_BIG_ENDIAN
diff --git a/extra/Configs/Config.v850 b/extra/Configs/Config.v850
index ba5b02982..2f900fc54 100644
--- a/extra/Configs/Config.v850
+++ b/extra/Configs/Config.v850
@@ -9,7 +9,6 @@ config TARGET_ARCH
config HAVE_ELF
bool
select ARCH_HAS_NO_MMU
- select ARCH_HAS_C_SYMBOL_PREFIX
select HAVE_NO_PIC
default y
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 9160d087d..9f1c36fbb 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -224,7 +224,7 @@
#else /* HAVE_ELF */
# define link_warning(symbol, msg) \
asm (".stabs \"" msg "\",30,0,0,0\n\t" \
- ".stabs \"" __C_SYMBOL_PREFIX__ #symbol "\",1,0,0,0\n");
+ ".stabs \"" __USER_LABEL_PREFIX__ #symbol "\",1,0,0,0\n");
#endif /* HAVE_ELF */
#ifndef weak_function
diff --git a/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h b/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
index 26c0b7412..5b15bd326 100644
--- a/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
@@ -19,7 +19,7 @@
#undef __UCLIBC_BROKEN_CREATE_MODULE__
/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_NO_UNDERSCORES__
+#undef __UCLIBC_NO_UNDERSCORES__
/* does your target have an asm .set ? */
#define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
diff --git a/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h b/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
index b349e6eaa..06e2e014c 100644
--- a/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
@@ -19,7 +19,7 @@
#define __UCLIBC_BROKEN_CREATE_MODULE__
/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_NO_UNDERSCORES__
+#undef __UCLIBC_NO_UNDERSCORES__
/* does your target have an asm .set ? */
#define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
diff --git a/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h b/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
index 107acb63b..50be765d8 100644
--- a/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
@@ -19,7 +19,7 @@
#undef __UCLIBC_BROKEN_CREATE_MODULE__
/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_NO_UNDERSCORES__
+#undef __UCLIBC_NO_UNDERSCORES__
/* does your target have an asm .set ? */
#define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
diff --git a/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h b/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
index 107acb63b..50be765d8 100644
--- a/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
@@ -19,7 +19,7 @@
#undef __UCLIBC_BROKEN_CREATE_MODULE__
/* does your target prefix all symbols with an _ ? */
-#define __UCLIBC_NO_UNDERSCORES__
+#undef __UCLIBC_NO_UNDERSCORES__
/* does your target have an asm .set ? */
#define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__