summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/sysdep.h
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/xtensa/sysdep.h
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/xtensa/sysdep.h')
-rw-r--r--libc/sysdeps/linux/xtensa/sysdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h
index ce2b0a0d6..f5a40eb3a 100644
--- a/libc/sysdeps/linux/xtensa/sysdep.h
+++ b/libc/sysdeps/linux/xtensa/sysdep.h
@@ -40,7 +40,7 @@
#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(2); \
LITERAL_POSITION; \
@@ -49,7 +49,7 @@
CALL_MCOUNT
#define HIDDEN_ENTRY(name) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
+ .globl C_SYMBOL_NAME(name); \
.hidden C_SYMBOL_NAME(name); \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name), @function); \
.align ALIGNARG(2); \