aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-06-13 13:52:15 -0600
committerJeff Law <law@gcc.gnu.org>1998-06-13 13:52:15 -0600
commita61e1825f5ec2d481da2628c4d95534b5ff67e12 (patch)
tree960c6121ec1e05f425269fdb60ef665760a60969
parent3bde0154efba3bfe4a7254792990c3a0b7b3e3aa (diff)
downloadgcc-a61e1825f5ec2d481da2628c4d95534b5ff67e12.zip
gcc-a61e1825f5ec2d481da2628c4d95534b5ff67e12.tar.gz
gcc-a61e1825f5ec2d481da2628c4d95534b5ff67e12.tar.bz2
Initial revision
From-SVN: r20494
-rw-r--r--gcc/config/sparc/hal.h33
-rw-r--r--gcc/config/sparc/t-halos2
2 files changed, 35 insertions, 0 deletions
diff --git a/gcc/config/sparc/hal.h b/gcc/config/sparc/hal.h
new file mode 100644
index 0000000..0222b81
--- /dev/null
+++ b/gcc/config/sparc/hal.h
@@ -0,0 +1,33 @@
+/* Definitions of target machine for GNU compiler, for HAL
+ SPARC running Solaris 2 HALOS
+ Copyright 1998 Free Software Foundation, Inc.
+ Contributed by Carol LePage (carolo@hal.com)
+
+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. */
+
+/* Need different command line for assembler */
+
+#undef ASM_SPEC
+#define ASM_SPEC \
+ "%{V} %{v:%{!V:-V}} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -e1 \
+ %{fpic:-K PIC} %{fPIC:-K PIC}"
+
+/* Need DWARF for debuggers. */
+
+#undef PREFERRED_DEBUGGING_TYPE
+#define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG
diff --git a/gcc/config/sparc/t-halos b/gcc/config/sparc/t-halos
new file mode 100644
index 0000000..0bd5496
--- /dev/null
+++ b/gcc/config/sparc/t-halos
@@ -0,0 +1,2 @@
+# For a native HALOS compile, we need to set -e1 for the assembler
+AS=as -e1