aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2001-06-06 02:13:37 +0000
committerDavid O'Brien <obrien@gcc.gnu.org>2001-06-06 02:13:37 +0000
commit910e231e805f9047d0a4b891570a8fc7d09d4e83 (patch)
treed4a6d436537f6d54da4987dd4ddebd6dcac07c3a
parent099c8b17ace8e7a35a53993bf8cf211b955d29a8 (diff)
downloadgcc-910e231e805f9047d0a4b891570a8fc7d09d4e83.zip
gcc-910e231e805f9047d0a4b891570a8fc7d09d4e83.tar.gz
gcc-910e231e805f9047d0a4b891570a8fc7d09d4e83.tar.bz2
config.gcc, bsd.h: Do not directly include sparc/sparc.h.
2001-06-05 David O'Brien <obrien@FreeBSD.org> * config.gcc, config/sparc/bsd.h: Do not directly include sparc/sparc.h. Instead do it via tm_file. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20010604154759.G25044@redhat.com> From-SVN: r42927
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/sparc/bsd.h2
3 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0dc127d..3c7cf35 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-05 David O'Brien <obrien@FreeBSD.org>
+
+ * config.gcc, config/sparc/bsd.h: Do not directly include
+ sparc/sparc.h. Instead do it via tm_file.
+
2001-06-05 Richard Henderson <rth@redhat.com>
* dwarf2.h (DW_EH_PE_aligned): New.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 600a693..df7f574 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2811,7 +2811,7 @@ sparc-*-openbsd*)
use_collect2=yes
;;
sparc-*-bsd*)
- tm_file=sparc/bsd.h
+ tm_file="${tm_file} sparc/bsd.h"
;;
sparc-*-chorusos*)
tm_file="sparc/sol2.h sparc/elf.h sparc/chorus.h"
diff --git a/gcc/config/sparc/bsd.h b/gcc/config/sparc/bsd.h
index 761abe2..41f83081 100644
--- a/gcc/config/sparc/bsd.h
+++ b/gcc/config/sparc/bsd.h
@@ -1,5 +1,3 @@
-#include "sparc/sparc.h"
-
#undef LIB_SPEC
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"