summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/powerpc64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-05 08:10:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-05 08:12:31 +0100
commit9cd6514517f8b385fda74dcdca2b9266c6f7eb14 (patch)
treef74143aa398e20e8b53cdf46a01f78a6a8fde717 /libc/sysdeps/linux/powerpc/powerpc64
parent53c4826506f49cc3aebefed294a6e4af8bea4133 (diff)
remove __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
It's even no longer required for non-ported ppc64 architecture. Sync with GNU C library. This simplify the macros in include/libc-symbols.h.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/powerpc64')
-rw-r--r--libc/sysdeps/linux/powerpc/powerpc64/sysdep.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/libc/sysdeps/linux/powerpc/powerpc64/sysdep.h b/libc/sysdeps/linux/powerpc/powerpc64/sysdep.h
index 902b63bf3..5a194af58 100644
--- a/libc/sysdeps/linux/powerpc/powerpc64/sysdep.h
+++ b/libc/sysdeps/linux/powerpc/powerpc64/sysdep.h
@@ -66,16 +66,6 @@
name##: OPD_ENT (name); \
.previous;
-#ifdef HAVE_ASM_GLOBAL_DOT_NAME
-# define DOT_LABEL(X) .##X
-# define BODY_LABEL(X) .##X
-# define ENTRY_2(name) \
- .globl BODY_LABEL(name); \
- ENTRY_1(name) \
- .size name, 24;
-# define END_2(name) \
- .size BODY_LABEL(name),.-BODY_LABEL(name);
-#else
# define DOT_LABEL(X) X
# define BODY_LABEL(X) .LY##X
# define ENTRY_2(name) \
@@ -84,7 +74,6 @@ name##: OPD_ENT (name); \
# define END_2(name) \
.size name,.-BODY_LABEL(name); \
.size BODY_LABEL(name),.-BODY_LABEL(name);
-#endif
#define ENTRY(name) \
ENTRY_2(name) \
@@ -242,22 +231,12 @@ LT_LABELSUFFIX(name,_name_end): ; \
# define OPD_ENT(name) ".quad " BODY_PREFIX #name ", .TOC.@tocbase, 0;"
#endif
-#ifdef HAVE_ASM_GLOBAL_DOT_NAME
-# define DOT_PREFIX "."
-# define BODY_PREFIX "."
-# define ENTRY_2(name) \
- ".globl " BODY_PREFIX #name ";\n" \
- ".size " #name ", 24;"
-# define END_2(name) \
- ".size " BODY_PREFIX #name ",.-" BODY_PREFIX #name ";"
-#else
# define DOT_PREFIX ""
# define BODY_PREFIX ".LY"
# define ENTRY_2(name) ".type " #name ",@function;"
# define END_2(name) \
".size " #name ",.-" BODY_PREFIX #name ";\n" \
".size " BODY_PREFIX #name ",.-" BODY_PREFIX #name ";"
-#endif
#endif /* __ASSEMBLER__ */