Initial revision
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 May 1992 21:18:43 +0000 (17:18 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 May 1992 21:18:43 +0000 (17:18 -0400)
From-SVN: r1054

gcc/config/sparc/sol2.h [new file with mode: 0644]

diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
new file mode 100644 (file)
index 0000000..9cebfa4
--- /dev/null
@@ -0,0 +1,36 @@
+/* Target definitions for GNU compiler for Sparc running Solaris 2.x
+   Copyright (C) 1992 Free Software Foundation, Inc.
+
+   Written by Ron Guilmette (rfg@ncd.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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+/* This is basically just a Sparc running svr4.  */
+
+#include "sparcv4.h"
+
+/* Solaris 2.x on a Sparc uses BSD stabs, not DWARF.  */
+
+#undef DWARF_DEBUGGING_INFO
+#define DBX_DEBUGGING_INFO
+
+/* If we cannot find the GNU *crt*.o files in the STANDARD_STARTFILE_PREFIX
+   directory, our fallback strategy must be to look for these files instead
+   in the Sun C 2.0 directory.  */
+
+#undef MD_STARTFILE_PREFIX
+#define MD_STARTFILE_PREFIX    "/opt/SUNWste/SC2.0/"