diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 20:44:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 20:44:28 +0000 |
commit | defb9e49f98f300b34dceaf3bc959aea45f35045 (patch) | |
tree | a9c0c1ea4ad48a6915a8c8943bf698910945bd32 | |
parent | d88bc9731d81c72bc5b57c0b36ac744fc9620ab4 (diff) |
allow arches to easily override asm-line-sep, move cris over to new style, and have hppa use it now
-rw-r--r-- | include/libc-symbols.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/cris/bits/uClibc_arch_features.h | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/hppa/bits/uClibc_arch_features.h | 3 |
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 */ |