summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-05 20:52:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-05 20:52:47 +0100
commit263573cf6e027c41d74d1e225e33f6ec85507938 (patch)
treee316f80bef48f05365583393454ee1db7f0f91cf /libc/sysdeps/linux/i386
parent9cd6514517f8b385fda74dcdca2b9266c6f7eb14 (diff)
remove __UCLIBC_ASM_GLOBAL_DIRECTIVE__
.globl can be used for every architecture so remove the define. Sync with GNU C library.
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/bits/uClibc_arch_features.h3
-rw-r--r--libc/sysdeps/linux/i386/sysdep.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
index 0b148e8cd..5b6c2fc78 100644
--- a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
@@ -24,9 +24,6 @@
/* does your target have an asm .set ? */
#define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
-/* define if target doesn't like .global */
-#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-
/* define if target supports .weak */
#define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
diff --git a/libc/sysdeps/linux/i386/sysdep.h b/libc/sysdeps/linux/i386/sysdep.h
index 40088add0..c92a10663 100644
--- a/libc/sysdeps/linux/i386/sysdep.h
+++ b/libc/sysdeps/linux/i386/sysdep.h
@@ -43,7 +43,7 @@
incomplete stabs information. Fake some entries here which specify
the current source file. */
#define ENTRY(name) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
+ .globl C_SYMBOL_NAME(name); \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \
.align ALIGNARG(4); \
C_LABEL(name) \