summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/bits/uClibc_arch_features.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
index 7eb946dee..c1aefd9d5 100644
--- a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
+++ b/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 */