aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-05-31 02:51:23 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-05-31 02:51:23 +0000
commitc8eb978520f4712ca9b45298614286a9e8aff7d1 (patch)
tree1267e568c5247613b41f5808c7717222d8dd6916
parent6e2e5b6a7ebf112e94b1d7ebfcf12b8c981575af (diff)
downloadgcc-c8eb978520f4712ca9b45298614286a9e8aff7d1.zip
gcc-c8eb978520f4712ca9b45298614286a9e8aff7d1.tar.gz
gcc-c8eb978520f4712ca9b45298614286a9e8aff7d1.tar.bz2
config.gcc (ns32k-*-netbsd*): Set tm_file to "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
* config.gcc (ns32k-*-netbsd*): Set tm_file to "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h" * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h, netbsd.h, or netbsd-aout.h. From-SVN: r54082
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/ns32k/netbsd.h10
3 files changed, 9 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 88d6152..0b7e12a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
+ * config.gcc (ns32k-*-netbsd*): Set tm_file to
+ "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
+ * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
+ netbsd.h, or netbsd-aout.h.
+
+2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
+
* longlong.h (count_trailing_zeros): Add missing \, and clean up
whitespace in __ns32000__ case.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 73e423a..8cd478f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1935,7 +1935,7 @@ ns32k-*-netbsdelf*)
echo "GCC does not yet support the ${machine} target"; exit 1
;;
ns32k-*-netbsd*)
- tm_file=ns32k/netbsd.h
+ tm_file="${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
# On NetBSD, the headers are already okay, except for math.h.
tmake_file=t-netbsd
use_collect2=yes
diff --git a/gcc/config/ns32k/netbsd.h b/gcc/config/ns32k/netbsd.h
index a5ac5b5..b595305 100644
--- a/gcc/config/ns32k/netbsd.h
+++ b/gcc/config/ns32k/netbsd.h
@@ -16,11 +16,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.
-
-*/
-
-#include <ns32k/ns32k.h>
+Boston, MA 02111-1307, USA. */
/* Compile for the floating point unit & 32532 by default;
Don't assume SB is zero;
@@ -64,10 +60,6 @@ Boston, MA 02111-1307, USA.
#define MOVD_FLOAT_OK
-/* Get generic NetBSD definitions. */
-#include <netbsd.h>
-#include <netbsd-aout.h>
-
/* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES