From 838b5ca862aea53720a1a3b788a2e9f80226aa25 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 8 Mar 1996 00:21:09 +0000 Subject: [PATCH] Initial revision From-SVN: r11496 --- gcc/config/sparc/splet.h | 25 +++++++++++++++++++++++++ gcc/config/sparc/t-splet | 26 ++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 gcc/config/sparc/splet.h create mode 100644 gcc/config/sparc/t-splet diff --git a/gcc/config/sparc/splet.h b/gcc/config/sparc/splet.h new file mode 100644 index 00000000000..d9a9adfff1b --- /dev/null +++ b/gcc/config/sparc/splet.h @@ -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 index 00000000000..d036e094bbe --- /dev/null +++ b/gcc/config/sparc/t-splet @@ -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 -- 2.30.2