Initial revision
authorDoug Evans <dje@gnu.org>
Fri, 8 Mar 1996 00:21:09 +0000 (00:21 +0000)
committerDoug Evans <dje@gnu.org>
Fri, 8 Mar 1996 00:21:09 +0000 (00:21 +0000)
From-SVN: r11496

gcc/config/sparc/splet.h [new file with mode: 0644]
gcc/config/sparc/t-splet [new file with mode: 0644]

diff --git a/gcc/config/sparc/splet.h b/gcc/config/sparc/splet.h
new file mode 100644 (file)
index 0000000..d9a9adf
--- /dev/null
@@ -0,0 +1,25 @@
+/* Definitions of target machine for GNU compiler, for SPARClet w/o FPU.
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Doug Evans (dje@cygnus.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.  */
+
+#include "sparc/aout.h"
+
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT (MASK_APP_REGS + MASK_EPILOGUE)
diff --git a/gcc/config/sparc/t-splet b/gcc/config/sparc/t-splet
new file mode 100644 (file)
index 0000000..d036e09
--- /dev/null
@@ -0,0 +1,26 @@
+# configuration file for a bare sparclet cpu, aout format files
+
+CROSS_LIBGCC1 = libgcc1-asm.a
+LIB1ASMSRC = sparc/lb1spc.asm
+LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
+
+# While we're developing, don't emit [su]mac insns.
+TARGET_LIBGCC2_CFLAGS = -mcpu=v7
+
+# These are really part of libgcc1, but this will cause them to be
+# built correctly, so...
+
+LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+       cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+       echo '#define FLOAT' > fp-bit.c
+       cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+MULTILIB_OPTIONS = mlive-g0
+MULTILIB_DIRNAMES = live-g0
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib