aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Blundell <philb@gnu.org>2001-02-26 18:15:36 +0000
committerPhil Blundell <pb@gcc.gnu.org>2001-02-26 18:15:36 +0000
commit14879e768f7ceaae3e83ccaf326872c845ec9f2d (patch)
tree8f4048e819cf5bf1b124cf577820f638aba01432 /gcc
parentd57de21543cbfaa637b5a8af78c20359ee088a72 (diff)
downloadgcc-14879e768f7ceaae3e83ccaf326872c845ec9f2d.zip
gcc-14879e768f7ceaae3e83ccaf326872c845ec9f2d.tar.gz
gcc-14879e768f7ceaae3e83ccaf326872c845ec9f2d.tar.bz2
config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and "armv2-*-linux".
2001-02-26 Philip Blundell <philb@gnu.org> * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and "armv2-*-linux". * config/arm/linux-elf.h: Remove historical relics related to above configurations. * config/arm/linux-oldld.h: Delete. * config/arm/linux-elf26.h: Delete. From-SVN: r40070
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config.gcc25
-rw-r--r--gcc/config/arm/linux-elf.h34
-rw-r--r--gcc/config/arm/linux-elf26.h24
-rw-r--r--gcc/config/arm/linux-oldld.h27
5 files changed, 16 insertions, 103 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 22467dc..b21ad17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2001-02-26 Philip Blundell <philb@gnu.org>
+
+ * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
+ "armv2-*-linux".
+ * config/arm/linux-elf.h: Remove historical relics related to
+ above configurations.
+ * config/arm/linux-oldld.h: Delete.
+ * config/arm/linux-elf26.h: Delete.
+
2001-02-26 Jason Merrill <jason@redhat.com>
* c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
diff --git a/gcc/config.gcc b/gcc/config.gcc
index a9ea215..e5f30de 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -530,33 +530,10 @@ arm*-*-netbsd*)
tmake_file="t-netbsd arm/t-netbsd"
use_collect2=yes
;;
-arm*-*-linux*oldld*) # ARM GNU/Linux with old ELF linker
- xm_file=arm/xm-linux.h
- xmake_file=x-linux
- tm_file="arm/linux-oldld.h arm/linux-elf.h"
- case $machine in
- armv2*-*-*)
- tm_file="arm/linux-elf26.h $tm_file"
- ;;
- esac
- tmake_file="t-linux arm/t-linux"
- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
- gnu_ld=yes
- case x${enable_threads} in
- x | xyes | xpthreads | xposix)
- thread_file='posix'
- ;;
- esac
- ;;
-arm*-*-linux*) # ARM GNU/Linux with ELF
+arm*-*-linux*) # ARM GNU/Linux with ELF
xm_file=arm/xm-linux.h
xmake_file=x-linux
tm_file="arm/linux-elf.h"
- case $machine in
- armv2*-*-*)
- tm_file="arm/linux-elf26.h $tm_file"
- ;;
- esac
tmake_file="t-linux arm/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index cd1befe..09e4e15 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -1,5 +1,6 @@
/* Definitions for ARM running Linux-based GNU systems using ELF
- Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001
+ Free Software Foundation, Inc.
Contributed by Philip Blundell <philb@gnu.org>
This file is part of GNU CC.
@@ -25,35 +26,12 @@ Boston, MA 02111-1307, USA. */
/* Do not assume anything about header files. */
#define NO_IMPLICIT_EXTERN_C
-#ifndef SUBTARGET_DEFAULT_APCS26
/* Default is to use APCS-32 mode. */
-# define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS)
-# ifdef SUBTARGET_OLD_LINKER
-# define SUBTARGET_EXTRA_LINK_SPEC \
- " %{mapcs-26:-m elf32arm26} %{!mapcs-26:-m elf32arm}"
-# else /* new linker */
-# define SUBTARGET_EXTRA_LINK_SPEC \
- " %{mapcs-26:-m armelf_linux26} %{!mapcs-26:-m armelf_linux} -p"
-# endif
-# define SUBTARGET_EXTRA_ASM_SPEC \
- " %{mapcs-26:-mapcs-26} %{!mapcs-26:-mapcs-32}"
-# define MULTILIB_DEFAULTS \
+#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS)
+#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux -p"
+#define MULTILIB_DEFAULTS \
{ "marm", "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
-# define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
-#else /* default is APCS-26 */
-# define TARGET_DEFAULT (ARM_FLAG_MMU_TRAPS)
-# ifdef SUBTARGET_OLD_LINKER
-# define SUBTARGET_EXTRA_LINK_SPEC \
- " %{mapcs-32:-m elf32arm} %{!mapcs-32:-m elf32arm26}"
-# else /* new linker */
-# define SUBTARGET_EXTRA_LINK_SPEC \
- " %{mapcs-32:-m armelf_linux} %{!mapcs-32:-m armelf_linux26} -p"
-# endif
-# define SUBTARGET_EXTRA_ASM_SPEC \
- " %{mapcs-32:-mapcs-32} %{!mapcs-32:-mapcs-26}"
-# define MULTILIB_DEFAULTS \
- { "marm", "mlittle-endian", "mhard-float", "mapcs-26", "mno-thumb-interwork" }
-#endif
+#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
/* This was defined in linux.h. Define it here also. */
#undef DEFAULT_VTABLE_THUNKS
diff --git a/gcc/config/arm/linux-elf26.h b/gcc/config/arm/linux-elf26.h
deleted file mode 100644
index ce26f1f..0000000
--- a/gcc/config/arm/linux-elf26.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Definitions for ARM running Linux-based GNU systems
- using ELF and 26-bit APCS.
- Copyright (C) 1999 Free Software Foundation, Inc.
- Contributed by Philip Blundell <Philip.Blundell@pobox.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 this program; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* Tell linux-elf.h to default to 26-bit mode. */
-#define SUBTARGET_DEFAULT_APCS26
diff --git a/gcc/config/arm/linux-oldld.h b/gcc/config/arm/linux-oldld.h
deleted file mode 100644
index 8b2af01..0000000
--- a/gcc/config/arm/linux-oldld.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Definitions for ARM running Linux-based GNU systems
- using ELF with old binutils.
- Copyright (C) 1999 Free Software Foundation, Inc.
- Contributed by Philip Blundell <Philip.Blundell@pobox.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 this program; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* Unfortunately, owing to various historical accidents, version 2.9.4
- and newer of GNU binutils are not quite compatible with the old
- (2.9.1-based) toolset. This tells linux-elf.h to generate specs
- appropriate for the older versions. */
-#define SUBTARGET_OLD_LINKER