From: Mike Frysinger Date: Wed, 21 Jun 2006 20:44:28 +0000 (-0000) Subject: allow arches to easily override asm-line-sep, move cris over to new style, and have... X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=defb9e49f98f300b34dceaf3bc959aea45f35045;p=uclinux-h8%2FuClibc.git allow arches to easily override asm-line-sep, move cris over to new style, and have hppa use it now --- 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 */