OSDN Git Service

2001-02-26 Philip Blundell <philb@gnu.org>
authorpb <pb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2001 18:15:36 +0000 (18:15 +0000)
committerpb <pb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2001 18:15:36 +0000 (18:15 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40070 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/arm/linux-elf.h
gcc/config/arm/linux-elf26.h [deleted file]
gcc/config/arm/linux-oldld.h [deleted file]

index 22467dc..b21ad17 100644 (file)
@@ -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
index a9ea215..e5f30de 100644 (file)
@@ -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
index cd1befe..09e4e15 100644 (file)
@@ -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 (file)
index ce26f1f..0000000
+++ /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 (file)
index 8b2af01..0000000
+++ /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