This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 22b08168c4661422dd23d81a3faa0c9758af4909 (commit)
from 7a9559f798609714377073a69c5e7506e5566a5b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 22b08168c4661422dd23d81a3faa0c9758af4909
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sat Dec 5 20:52:47 2015 +0100
remove __UCLIBC_ASM_GLOBAL_DIRECTIVE__
.globl can be used for every architecture so remove the define.
Sync with GNU C library.
-----------------------------------------------------------------------
Summary of changes:
include/libc-symbols.h | 15 ++++-----------
libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/arc/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/arm/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/arm/sysdep.h | 2 +-
libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/c6x/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/common/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/cris/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/cris/sysdep.h | 4 ++--
libc/sysdeps/linux/frv/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/i386/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/i386/sysdep.h | 2 +-
libc/sysdeps/linux/i960/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/lm32/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/metag/bits/uClibc_arch_features.h | 3 ---
.../linux/microblaze/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/mips/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/or1k/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/powerpc/powerpc32/sysdep.h | 6 +++---
libc/sysdeps/linux/sh/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/sh/sysdep.h | 2 +-
libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/v850/Makefile | 2 +-
libc/sysdeps/linux/v850/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/x86_64/sysdep.h | 2 +-
libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h | 3 ---
libc/sysdeps/linux/xtensa/sysdep.h | 4 ++--
36 files changed, 16 insertions(+), 104 deletions(-)
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index e203622..fc129db 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -38,7 +38,6 @@
It should define for us the following symbols:
* HAVE_ASM_SET_DIRECTIVE if we have `.set B, A' instead of `A = B'.
- * ASM_GLOBAL_DIRECTIVE with `.globl' or `.global'.
* ASM_TYPE_DIRECTIVE_PREFIX with `@' or `#' or whatever for .type,
or leave it undefined if there is no .type directive.
* HAVE_ELF if using ELF, which supports weak symbols using `.weak'.
@@ -120,12 +119,6 @@
# undef HAVE_ASM_SET_DIRECTIVE
#endif
-#ifdef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-# define ASM_GLOBAL_DIRECTIVE __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#else
-# define ASM_GLOBAL_DIRECTIVE .global
-#endif
-
#ifdef __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
# define HAVE_ASM_WEAK_DIRECTIVE
#else
@@ -209,12 +202,12 @@
# ifdef HAVE_ASM_SET_DIRECTIVE
# define strong_alias(original, alias) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(alias) ASM_LINE_SEP \
+ .globl C_SYMBOL_NAME(alias) ASM_LINE_SEP \
.set C_SYMBOL_NAME(alias),C_SYMBOL_NAME(original)
# define strong_data_alias(original, alias) strong_alias(original, alias)
# else
# define strong_alias(original, alias) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(alias) ASM_LINE_SEP \
+ .globl C_SYMBOL_NAME(alias) ASM_LINE_SEP \
C_SYMBOL_NAME(alias) = C_SYMBOL_NAME(original)
# define strong_data_alias(original, alias) strong_alias(original, alias)
# endif
@@ -443,12 +436,12 @@ FIXME! - ?
# ifdef HAVE_ASM_SET_DIRECTIVE
# define _hidden_strong_alias(original, alias) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(alias) ASM_LINE_SEP \
+ .globl C_SYMBOL_NAME(alias) ASM_LINE_SEP \
.hidden C_SYMBOL_NAME(alias) ASM_LINE_SEP \
.set C_SYMBOL_NAME(alias),C_SYMBOL_NAME(original)
# else /* dont have .set directive */
# define _hidden_strong_alias(original, alias) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(alias) ASM_LINE_SEP \
+ .globl C_SYMBOL_NAME(alias) ASM_LINE_SEP \
.hidden C_SYMBOL_NAME(alias) ASM_LINE_SEP \
C_SYMBOL_NAME(alias) = C_SYMBOL_NAME(original)
# endif
diff --git a/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
index 3f2a1a3..18c18f9 100644
--- a/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
@@ -23,9 +23,6 @@
/* does your target have an asm .set ? */
#undef __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/arc/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/arc/bits/uClibc_arch_features.h
index 1fe8fbc..5160724 100755
--- a/libc/sysdeps/linux/arc/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/arc/bits/uClibc_arch_features.h
@@ -26,9 +26,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/arm/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
index 6142c49..671afd3 100644
--- a/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
@@ -27,9 +27,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/arm/sysdep.h b/libc/sysdeps/linux/arm/sysdep.h
index 7f1e9c1..1452989 100644
--- a/libc/sysdeps/linux/arm/sysdep.h
+++ b/libc/sysdeps/linux/arm/sysdep.h
@@ -64,7 +64,7 @@
/* Define an entry point visible from C. */
#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); \
name##: \
diff --git a/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h
index e2632db..cb0eae8 100644
--- a/libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/avr32/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/bfin/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
index 6205078..9646aac 100644
--- a/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
@@ -23,9 +23,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/c6x/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/c6x/bits/uClibc_arch_features.h
index 1515a55..7b6077e 100644
--- a/libc/sysdeps/linux/c6x/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/c6x/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/common/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/common/bits/uClibc_arch_features.h
index 9ad693a..37c7ceb 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_arch_features.h
@@ -26,9 +26,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/cris/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
index 570a28d..517f68c 100644
--- a/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/cris/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/cris/sysdep.h b/libc/sysdeps/linux/cris/sysdep.h
index 35c02c7..cd21fc8 100644
--- a/libc/sysdeps/linux/cris/sysdep.h
+++ b/libc/sysdeps/linux/cris/sysdep.h
@@ -121,14 +121,14 @@
/* Define an entry point visible from C. */
#define ENTRY(name) \
.text @ \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME (name) @ \
+ .globl C_SYMBOL_NAME (name) @ \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME (name), function) @ \
.align ALIGNARG (2) @ \
C_LABEL(name)
#define HIDDEN_ENTRY(name) \
.text @ \
- 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) @ \
diff --git a/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h
index c07d2b6..293cc9b 100644
--- a/libc/sysdeps/linux/frv/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/frv/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/h8300/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
index 44d8296..6047d14 100644
--- a/libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/h8300/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/hppa/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
index 07c12a6..19fa051 100644
--- a/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
@@ -23,9 +23,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/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
index 0b148e8..5b6c2fc 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 40088ad..c92a106 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) \
diff --git a/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
index bc40e4b..a13ed37 100644
--- a/libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/i960/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/ia64/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h
index 388226c..25c9832 100644
--- a/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/ia64/bits/uClibc_arch_features.h
@@ -23,9 +23,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/lm32/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/lm32/bits/uClibc_arch_features.h
index dfcccc2..a64f653 100644
--- a/libc/sysdeps/linux/lm32/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/lm32/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/m68k/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h
index eb1ce25..5cfaa43 100644
--- a/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h
@@ -27,9 +27,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/metag/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/metag/bits/uClibc_arch_features.h
index 89b204e..1433c58 100644
--- a/libc/sysdeps/linux/metag/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/metag/bits/uClibc_arch_features.h
@@ -28,9 +28,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/microblaze/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
index 74d131b..ea767ab 100644
--- a/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
@@ -24,9 +24,6 @@
/* does your target have an asm .set ? */
#undef __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/mips/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h
index 6178a01..bcdf124 100644
--- a/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/mips/bits/uClibc_arch_features.h
@@ -28,9 +28,6 @@
/* does your target have an asm .set ? */
#undef __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/nios2/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h
index c07d2b6..293cc9b 100644
--- a/libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/nios2/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/or1k/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/or1k/bits/uClibc_arch_features.h
index c066bc7..f4b2169 100644
--- a/libc/sysdeps/linux/or1k/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/or1k/bits/uClibc_arch_features.h
@@ -26,9 +26,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/powerpc/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h
index a889f84..6610693 100644
--- a/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h
@@ -23,9 +23,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/powerpc/powerpc32/sysdep.h
b/libc/sysdeps/linux/powerpc/powerpc32/sysdep.h
index d9a4704..9459e79 100644
--- a/libc/sysdeps/linux/powerpc/powerpc32/sysdep.h
+++ b/libc/sysdeps/linux/powerpc/powerpc32/sysdep.h
@@ -36,7 +36,7 @@
#endif /* PROF */
#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); \
C_LABEL(name) \
@@ -56,7 +56,7 @@
past a 2^align boundary. */
#ifdef PROF
# define EALIGN(name, alignt, words) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
+ .globl C_SYMBOL_NAME(name); \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \
.align ALIGNARG(2); \
C_LABEL(name) \
@@ -68,7 +68,7 @@
0:
#else /* PROF */
# define EALIGN(name, alignt, words) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
+ .globl C_SYMBOL_NAME(name); \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \
.align ALIGNARG(alignt); \
EALIGN_W_##words; \
diff --git a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
index c2c5a9a..401bd45 100644
--- a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
@@ -27,9 +27,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/sh/sysdep.h b/libc/sysdeps/linux/sh/sysdep.h
index 69bcbe1..b9b0009 100644
--- a/libc/sysdeps/linux/sh/sysdep.h
+++ b/libc/sysdeps/linux/sh/sysdep.h
@@ -38,7 +38,7 @@
/* Define an entry point visible from C. */
#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(5); \
C_LABEL(name) \
diff --git a/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
index 5fe839a..283a250 100644
--- a/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
@@ -23,9 +23,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/v850/Makefile b/libc/sysdeps/linux/v850/Makefile
index e54e18c..d6ed3cc 100644
--- a/libc/sysdeps/linux/v850/Makefile
+++ b/libc/sysdeps/linux/v850/Makefile
@@ -9,7 +9,7 @@ TOPDIR=../../../../
include $(TOPDIR)Rules.mak
CFLAGS += -I..
-ASFLAGS += -I.. -D__ASSEMBLER -DASM_GLOBAL_DIRECTIVE=.globl
+ASFLAGS += -I.. -D__ASSEMBLER
TARGET_MACHINE_TYPE=$(shell $(CC) -dumpmachine)
diff --git a/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
index 62d49a3..32293e6 100644
--- a/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/v850/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/x86_64/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h
index 3565885..4380169 100644
--- a/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h
@@ -23,9 +23,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/x86_64/sysdep.h b/libc/sysdeps/linux/x86_64/sysdep.h
index ed7e26e..3bfeaca 100644
--- a/libc/sysdeps/linux/x86_64/sysdep.h
+++ b/libc/sysdeps/linux/x86_64/sysdep.h
@@ -38,7 +38,7 @@
/* Define an entry point visible from C. */
#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) \
diff --git a/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
b/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
index 4d6edd5..a15744c 100644
--- a/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
@@ -23,9 +23,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/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h
index ce2b0a0..f5a40eb 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); \
hooks/post-receive
--
uClibc-ng - small C library for embedded systems