summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-11 01:22:44 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-11 01:22:44 +0000
commit21dd9da95957cf66999015a7b74b3ccab745e1c1 (patch)
tree7a2f6bdcbdf592f406a2803f8fb41e15e811816b /include
parentd43a965783b6224d6792ee0a7aea8de2bcac9a35 (diff)
fix warnings when building on sparc
Diffstat (limited to 'include')
-rw-r--r--include/libc-internal.h6
1 files changed, 5 insertions, 1 deletions
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