OSDN Git Service

allow arches to easily override asm-line-sep, move cris over to new style, and have...
authorMike Frysinger <vapier@gentoo.org>
Wed, 21 Jun 2006 20:44:28 +0000 (20:44 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 21 Jun 2006 20:44:28 +0000 (20:44 -0000)
include/libc-symbols.h
libc/sysdeps/linux/cris/bits/uClibc_arch_features.h
libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h

index ec3696b..c5d574d 100644 (file)
 # 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
 
index b62a510..98548e0 100644 (file)
@@ -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 */
index bf048d3..5eea002 100644 (file)
@@ -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 */