summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-09-19 01:44:04 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-09-19 01:44:04 +0000
commit0ac762b600dcf65c6cea5d2dcb1478a2f809f1ea (patch)
treed64a22d3446c325dc6ecfa062b26771d1ad19ffd /gnu
parentcebe72e3222a41041436bd66ebafcc1815d3c2db (diff)
build sparc64 like sparc is built. includes config/xm-openbsd.h
ok miod@ tested by building gcc and building trampoline exec test.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/gcc/config.gcc2
-rw-r--r--gnu/egcs/gcc/config/sparc/xm-openbsd64.h23
2 files changed, 24 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config.gcc b/gnu/egcs/gcc/config.gcc
index f6de0cb53ee..fb6721a08ca 100644
--- a/gnu/egcs/gcc/config.gcc
+++ b/gnu/egcs/gcc/config.gcc
@@ -2505,7 +2505,7 @@ sparc-*-openbsd*)
;;
sparc64-*-openbsd*)
tm_file="sparc/openbsd64.h exec-stack.h"
- xm_file=sparc/xm-sp64.h
+ xm_file=sparc/xm-openbsd64.h
gas=yes gnu_ld=yes
;;
sparc-*-bsd*)
diff --git a/gnu/egcs/gcc/config/sparc/xm-openbsd64.h b/gnu/egcs/gcc/config/sparc/xm-openbsd64.h
new file mode 100644
index 00000000000..9d0c9fabdb8
--- /dev/null
+++ b/gnu/egcs/gcc/config/sparc/xm-openbsd64.h
@@ -0,0 +1,23 @@
+/* Configuration file for an host running sparc64 OpenBSD.
+ Copyright (C) 1999 Free Software Foundation, Inc.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+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 <xm-openbsd.h>
+#include <sparc/xm-sp64.h>
+