aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2003-09-02 21:53:08 -0400
committerJason Merrill <jason@gcc.gnu.org>2003-09-02 21:53:08 -0400
commit49fa066178b3a5956bb9a05bfab59b90aa95d99d (patch)
tree4799b4b8170e2ee419f2137b90d5ee192d3973ee /gcc
parentde38635b4573bd44ca16a2d4fa20f5adeef7a8f1 (diff)
downloadgcc-49fa066178b3a5956bb9a05bfab59b90aa95d99d.zip
gcc-49fa066178b3a5956bb9a05bfab59b90aa95d99d.tar.gz
gcc-49fa066178b3a5956bb9a05bfab59b90aa95d99d.tar.bz2
sol2.h (NO_IMPLICIT_EXTERN_C): Define here.
* config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here. * config/sparc/sol2.h: Not here. From-SVN: r71017
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sol2.h3
-rw-r--r--gcc/config/sparc/sol2.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index abd91f2..4079acc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-02 Jason Merrill <jason@redhat.com>
+
+ * config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here.
+ * config/sparc/sol2.h: Not here.
+
2003-09-02 Roger Sayle <roger@eyesopen.com>
* expr.c (expand_expr): The code following both_summands performs
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index a532d3e..79c54b5 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -76,6 +76,9 @@ Boston, MA 02111-1307, USA. */
TARGET_SUB_OS_CPP_BUILTINS(); \
} while (0)
+/* The system headers under Solaris (at least 2.5.1 and up) are C++-aware. */
+#define NO_IMPLICIT_EXTERN_C
+
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index 97370dd..efb49c8 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -135,6 +135,3 @@ Boston, MA 02111-1307, USA. */
sparc_override_options will disable V8+ if not generating V9 code. */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_V8PLUS + MASK_FPU + MASK_LONG_DOUBLE_128)
-
-/* The system headers under Solaris (at least 2.5.1 and up) are C++-aware. */
-#define NO_IMPLICIT_EXTERN_C