This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

remove old Linux/ARM cruft


I'd like to apply this to both the trunk and the branch.

p.

2001-02-25  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.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.31
diff -u -p -u -p -r1.31 config.gcc
--- config.gcc	2001/02/25 17:23:42	1.31
+++ config.gcc	2001/02/25 19:38:18
@@ -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
+arm*-*-linux*)			# ARM GNU/Linux with ELF
 	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
-	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: config/arm/linux-elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/linux-elf.h,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 linux-elf.h
--- linux-elf.h	2000/11/02 23:29:08	1.21
+++ linux-elf.h	2001/02/25 19:38:20
@@ -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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]