aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2005-04-04 17:18:54 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-04-04 17:18:54 +0000
commit6d6f2d0804ab464f43e5f20563948dc85542a50a (patch)
tree3239007397179a8eb58f3a589a25119fce37be3e /gcc
parent0bfc3f69702dc3162629a236fa21987bebf6524a (diff)
downloadgcc-6d6f2d0804ab464f43e5f20563948dc85542a50a.zip
gcc-6d6f2d0804ab464f43e5f20563948dc85542a50a.tar.gz
gcc-6d6f2d0804ab464f43e5f20563948dc85542a50a.tar.bz2
re PR target/4198 ([sparclite-elf] does not build, needs tweaking for crtstuff.c changes)
PR target/4198 PR target/12027 * config.gcc (Obsolete configurations): Remove sparclite-*-coff*, sparclite-*-elf* and sparc-*-openbsd*. (sparclite-*-coff*): Delete. (sparclite-*-elf*): Likewise. (sparc86x-*-elf*): Likewise. (target_cpu_default) <sparc*-*-*>: Remove sparc86x. * config/sparc/lite.h: Delete. * config/sparc/litecoff.h: Likewise. * config/sparc/liteelf.h: Likewise. * config/sparc/sp86x-elf.h: Likewise. * config/sparc/t-sparclite: Likewise. * config/sparc/t-sp86x: Likewise. From-SVN: r97555
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog19
-rw-r--r--gcc/config.gcc24
-rw-r--r--gcc/config/sparc/lite.h31
-rw-r--r--gcc/config/sparc/litecoff.h63
-rw-r--r--gcc/config/sparc/liteelf.h46
-rw-r--r--gcc/config/sparc/sp86x-elf.h61
-rw-r--r--gcc/config/sparc/t-sp86x23
-rw-r--r--gcc/config/sparc/t-sparclite23
8 files changed, 19 insertions, 271 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 40926b4..403e706 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,21 @@
-2005-04-04 Adrian Strae¤tling <straetling@de.ibm.com>
+2005-04-04 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ PR target/4198
+ PR target/12027
+ * config.gcc (Obsolete configurations): Remove
+ sparclite-*-coff*, sparclite-*-elf* and sparc-*-openbsd*.
+ (sparclite-*-coff*): Delete.
+ (sparclite-*-elf*): Likewise.
+ (sparc86x-*-elf*): Likewise.
+ (target_cpu_default) <sparc*-*-*>: Remove sparc86x.
+ * config/sparc/lite.h: Delete.
+ * config/sparc/litecoff.h: Likewise.
+ * config/sparc/liteelf.h: Likewise.
+ * config/sparc/sp86x-elf.h: Likewise.
+ * config/sparc/t-sparclite: Likewise.
+ * config/sparc/t-sp86x: Likewise.
+
+2005-04-04 Adrian Straetling <straetling@de.ibm.com>
* config/s390/s390-protos.h: (s390_comparison,
s390_alc_comparison, s390_slb_comparison, const0_operand,
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 74c8b41..d8c914f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -184,10 +184,7 @@ md_file=
# Obsolete configurations.
case ${target} in
- sparclite-*-coff* \
- | sparclite-*-elf* \
- | sparc86x-*-elf* \
- | sparc-*-openbsd* \
+ sparc-*-openbsd* \
| i860-*-sysv4* \
| ip2k-*-elf \
| ns32k-*-netbsdelf* \
@@ -2031,22 +2028,6 @@ sparc-*-sysv4*)
extra_parts="crtbegin.o crtend.o"
use_fixproto=yes
;;
-sparclite-*-coff*)
- tm_file="${tm_file} sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h"
- tmake_file=sparc/t-sparclite
- ;;
-sparclite-*-elf*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp-elf.h sparc/liteelf.h"
- tmake_file="sparc/t-sparclite sparc/t-crtfm"
- extra_parts="crtbegin.o crtend.o"
- use_fixproto=yes
- ;;
-sparc86x-*-elf*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp-elf.h sparc/sp86x-elf.h"
- tmake_file="sparc/t-sp86x sparc/t-crtfm"
- extra_parts="crtbegin.o crtend.o"
- use_fixproto=yes
- ;;
sparc64-*-elf*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h"
tmake_file="${tmake_file} sparc/t-crtfm"
@@ -2774,9 +2755,6 @@ case ${target} in
xsparc)
with_cpu=v7
;;
- xsparc86x)
- with_cpu=sparclite86x
- ;;
xsparcv9 | xsparc64)
with_cpu=v9
;;
diff --git a/gcc/config/sparc/lite.h b/gcc/config/sparc/lite.h
deleted file mode 100644
index cac67ec..0000000
--- a/gcc/config/sparc/lite.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Definitions of target machine for GCC, for SPARClite w/o FPU.
- Copyright (C) 1993, 1996 Free Software Foundation, Inc.
- Contributed by Jim Wilson (wilson@cygnus.com).
-
-This file is part of GCC.
-
-GCC 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.
-
-GCC 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 GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#undef TARGET_VERSION
-#define TARGET_VERSION fprintf (stderr, " (sparclite)");
-
-/* Enable app-regs and epilogue options. Do not enable the fpu. */
-
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT MASK_APP_REGS
-
-/* Enable US Software GOFAST library support. */
-#define US_SOFTWARE_GOFAST
diff --git a/gcc/config/sparc/litecoff.h b/gcc/config/sparc/litecoff.h
deleted file mode 100644
index c58c558..0000000
--- a/gcc/config/sparc/litecoff.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Definitions of target machine for GCC, for SPARClite w/o FPU, COFF.
- Copyright (C) 1994, 1996, 2000, 2002, 2004, 2005
- Free Software Foundation, Inc.
- Written by Ken Raeburn (raeburn@cygnus.com).
-
-This file is part of GCC.
-
-GCC 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.
-
-GCC 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 GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#define BSS_SECTION_ASM_OP "\t.section\t\".bss\""
-
-#define TARGET_OS_CPP_BUILTINS() \
- do \
- { \
- builtin_define_std ("sparclite"); \
- } \
- while (0)
-
-/* Default to stabs in COFF. */
-
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
-/* Support the ctors and dtors sections for g++. */
-
-#undef INIT_SECTION_ASM_OP
-
-#undef DO_GLOBAL_CTORS_BODY
-#undef DO_GLOBAL_DTORS_BODY
-
-/* These compiler options take an argument. We ignore -target for now. */
-
-#define WORD_SWITCH_TAKES_ARG(STR) \
- (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \
- || !strcmp (STR, "target") || !strcmp (STR, "assert"))
-
-/* Output the label for a function definition. */
-
-#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
-do { \
- ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \
- ASM_OUTPUT_LABEL (FILE, NAME); \
-} while (0)
-
-/* Output before read-only data. */
-
-#define TEXT_SECTION_ASM_OP "\t.text"
-
-/* Output before writable data. */
-
-#define DATA_SECTION_ASM_OP "\t.data"
diff --git a/gcc/config/sparc/liteelf.h b/gcc/config/sparc/liteelf.h
deleted file mode 100644
index 584816b..0000000
--- a/gcc/config/sparc/liteelf.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Definitions of target machine for GCC, for SPARClite w/o FPU, ELF.
- Copyright (C) 1998, 1999, 2005 Free Software Foundation, Inc.
- Contributed by Stan Cox (scox@cygnus.com).
-
-This file is part of GCC.
-
-GCC 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.
-
-GCC 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 GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#undef TARGET_VERSION
-#define TARGET_VERSION fprintf (stderr, " (sparclite)");
-
-#undef TARGET_OS_CPP_BUILTINS
-#define TARGET_OS_CPP_BUILTINS() \
- do \
- { \
- builtin_define ("__sparclite__"); \
- } \
- while (0)
-
-/* Enable app-regs and epilogue options. Do not enable the fpu. */
-
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT MASK_APP_REGS
-
-/* Enable US Software GOFAST library support. */
-#define US_SOFTWARE_GOFAST
-
-#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "crti.o%s crtbegin.o%s"
-
-/* Use __main method of constructor invocation. */
-#undef INIT_SECTION_ASM_OP
-#undef FINI_SECTION_ASM_OP
diff --git a/gcc/config/sparc/sp86x-elf.h b/gcc/config/sparc/sp86x-elf.h
deleted file mode 100644
index 971f358..0000000
--- a/gcc/config/sparc/sp86x-elf.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/* Definitions of target machine for GCC, for sparclite 86x w/o FPU.
- Copyright (C) 1998, 1999, 2000, 2005 Free Software Foundation, Inc.
- Contributed by Stan Cox (scox@cygnus.com).
-
-This file is part of GCC.
-
-GCC 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.
-
-GCC 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 GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#undef TARGET_VERSION
-#define TARGET_VERSION fprintf (stderr, " (sparclite 86x)");
-
-#undef TARGET_OS_CPP_BUILTINS
-#define TARGET_OS_CPP_BUILTINS() \
- do \
- { \
- builtin_define ("__sparclite86x__"); \
- } \
- while (0)
-
-/* Enable app-regs and epilogue options. Do not enable the fpu. */
-
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT MASK_APP_REGS
-
-#undef ASM_SPEC
-#define ASM_SPEC "%{v:-V} %{mlittle-endian-data:--little-endian-data} %(asm_cpu)"
-
-/* Enable US Software GOFAST library support. */
-#define US_SOFTWARE_GOFAST
-
-#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "crti.o%s crtbegin.o%s"
-
-#undef LINK_SPEC
-#define LINK_SPEC "%{v:-V} %{mlittle-endian-data:-EL}"
-
-#undef BYTES_BIG_ENDIAN
-#define BYTES_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN_DATA)
-#undef WORDS_BIG_ENDIAN
-#define WORDS_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN_DATA)
-
-/* Use __main method of constructor invocation */
-#undef INIT_SECTION_ASM_OP
-
-#define TARGET_LITTLE_ENDIAN_DATA (target_flags & MASK_LITTLE_ENDIAN)
-#undef SUBTARGET_SWITCHES
-#define SUBTARGET_SWITCHES \
- { "little-endian-data", MASK_LITTLE_ENDIAN, N_("Use little-endian byte order for data")},
diff --git a/gcc/config/sparc/t-sp86x b/gcc/config/sparc/t-sp86x
deleted file mode 100644
index 6dd5c03..0000000
--- a/gcc/config/sparc/t-sp86x
+++ /dev/null
@@ -1,23 +0,0 @@
-LIB1ASMSRC = sparc/lb1spc.asm
-LIB1ASMFUNCS = _divsi3 _modsi3
-
-# We want fine grained libraries, so use the new code to build the
-# floating point emulation libraries.
-FPBIT = fp-bit.c
-DPBIT = dp-bit.c
-
-dp-bit.c: $(srcdir)/config/fp-bit.c
- echo '#define US_SOFTWARE_GOFAST' > dp-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
- echo '#define US_SOFTWARE_GOFAST' >> fp-bit.c
- cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-
-MULTILIB_OPTIONS = mlittle-endian-data
-MULTILIB_DIRNAMES = little
-
-LIBGCC = stmp-multilib
-INSTALL_LIBGCC = install-multilib
-
diff --git a/gcc/config/sparc/t-sparclite b/gcc/config/sparc/t-sparclite
deleted file mode 100644
index 27492b9..0000000
--- a/gcc/config/sparc/t-sparclite
+++ /dev/null
@@ -1,23 +0,0 @@
-LIB1ASMSRC = sparc/lb1spl.asm
-LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3
-
-# We want fine grained libraries, so use the new code to build the
-# floating point emulation libraries.
-FPBIT = fp-bit.c
-DPBIT = dp-bit.c
-
-dp-bit.c: $(srcdir)/config/fp-bit.c
- echo '#define US_SOFTWARE_GOFAST' > dp-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
- echo '#define US_SOFTWARE_GOFAST' >> fp-bit.c
- cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-
-MULTILIB_OPTIONS = mfpu
-MULTILIB_DIRNAMES =
-MULTILIB_MATCHES = mfpu=mhard-float mfpu=mcpu?f934
-
-LIBGCC = stmp-multilib
-INSTALL_LIBGCC = install-multilib