From 21dd9da95957cf66999015a7b74b3ccab745e1c1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Jan 2006 01:22:44 +0000 Subject: fix warnings when building on sparc --- include/libc-internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libc-internal.h b/include/libc-internal.h index 307b0180f..9ade7e2ab 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -76,7 +76,11 @@ /* Tacking on "\n\t#" to the section name makes gcc put it's bogus section attributes on what looks like a comment to the assembler. */ -# define __sec_comment "\n\t#" +# ifdef __sparc__ //HAVE_SECTION_QUOTES +# define __sec_comment "\"\n\t#\"" +# else +# define __sec_comment "\n\t#" +# endif # ifdef __cris__ # define link_warning(symbol, msg) # else -- cgit v1.2.3