Преглед на файлове

Change to sane defaults

Peter S. Mazinger преди 20 години
родител
ревизия
d166ab00c8
променени са 22 файла, в които са добавени 222 реда и са изтрити 110 реда
  1. 10 5
      libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h
  2. 10 5
      libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
  3. 10 5
      libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
  4. 10 5
      libc/sysdeps/linux/common/bits/uClibc_arch_features.h
  5. 10 5
      libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
  6. 10 5
      libc/sysdeps/linux/e1/bits/uClibc_arch_features.h
  7. 10 5
      libc/sysdeps/linux/frv/bits/uClibc_arch_features.h
  8. 10 5
      libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h
  9. 10 5
      libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
  10. 12 5
      libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
  11. 10 5
      libc/sysdeps/linux/i960/bits/uClibc_arch_features.h
  12. 10 5
      libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h
  13. 10 5
      libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h
  14. 10 5
      libc/sysdeps/linux/mips/bits/uClibc_arch_features.h
  15. 10 5
      libc/sysdeps/linux/nios/bits/uClibc_arch_features.h
  16. 10 5
      libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h
  17. 10 5
      libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h
  18. 10 5
      libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
  19. 10 5
      libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h
  20. 10 5
      libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h
  21. 10 5
      libc/sysdeps/linux/v850/bits/uClibc_arch_features.h
  22. 10 5
      libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h

+ 10 - 5
libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/arm/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/common/bits/uClibc_arch_features.h

@@ -26,11 +26,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/cris/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/e1/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/frv/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/h8300/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 12 - 5
libc/sysdeps/linux/i386/bits/uClibc_arch_features.h

@@ -23,11 +23,18 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+#define internal_function __attribute__ ((regparm (3), stdcall))
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/i960/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/m68k/bits/uClibc_arch_features.h

@@ -27,11 +27,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/microblaze/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/mips/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/nios/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/nios2/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/sh/bits/uClibc_arch_features.h

@@ -29,11 +29,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/sparc/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/v850/bits/uClibc_arch_features.h

@@ -24,11 +24,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */

+ 10 - 5
libc/sysdeps/linux/x86_64/bits/uClibc_arch_features.h

@@ -23,11 +23,16 @@
 /* does your target have an asm .set ? */
 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
 
-/* shouldn't need to change these ... */
-#define __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-#define __UCLIBC_ASM_TYPE_DIRECTIVE_PREFIX__
+/* define if target doesn't like .global */
+#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
+
+/* define if target supports .weak */
 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-#define __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
+
+/* define if target supports .weakext */
+#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
+
+/* needed probably only for ppc64 */
+#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */