summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libc-symbols.h4
-rw-r--r--libc/sysdeps/linux/cris/bits/uClibc_arch_features.h2
-rw-r--r--libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h3
3 files changed, 7 insertions, 2 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ec3696b5e..c5d574d90 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -131,7 +131,9 @@
# endif
#endif
-#ifndef ASM_LINE_SEP
+#ifdef __UCLIBC_ASM_LINE_SEP__
+# define ASM_LINE_SEP __UCLIBC_ASM_LINE_SEP__
+#else
# define ASM_LINE_SEP ;
#endif
diff --git a/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h b/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
index b62a51020..98548e0bd 100644
--- a/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
@@ -40,6 +40,6 @@
#define __UCLIBC_HAVE_SIGNED_ZERO__
/* lovely */
-#define ASM_LINE_SEP @
+#define __UCLIBC_ASM_LINE_SEP__ @
#endif /* _BITS_UCLIBC_ARCH_FEATURES_H */
diff --git a/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h b/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
index bf048d3b8..5eea002c7 100644
--- a/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h
@@ -38,4 +38,7 @@
/* define if target supports IEEE signed zero floats */
#define __UCLIBC_HAVE_SIGNED_ZERO__
+/* the default ; is a comment on hppa */
+#define __UCLIBC_ASM_LINE_SEP__ !
+
#endif /* _BITS_UCLIBC_ARCH_FEATURES_H */