This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Kill dead config files
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: Kill dead config files
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sat, 24 Feb 2001 17:06:10 -0800
This patch removes a number of files and config.gcc stanzas associated
with obsolete configurations. It should have no effect on any
supported platform.
Applied to mainline as obvious cleanup.
zw
* config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
(i750a-*-*): Error here if hosting on i750a.
(alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
* x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
Remove (empty modulo comments).
* 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
* i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
Remove reference to winnt.h in comment.
* rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
===================================================================
Index: config.gcc
--- config.gcc 2001/02/19 17:15:53 1.28
+++ config.gcc 2001/02/25 00:55:05
@@ -316,6 +316,11 @@ case $machine in
fi
;;
1750a-*-*)
+ # 1750a is only supported as a target.
+ case "$build,$host" in 1750a*,* | *,1750a* )
+ echo "*** $machine is only supported as a target" >&2
+ exit 1
+ esac
;;
a29k-*-bsd* | a29k-*-sym1*)
tm_file="${tm_file} a29k/unix.h"
@@ -353,7 +358,7 @@ alpha-*-interix)
target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT"
xm_file="alpha/xm-alpha-interix.h xm-interix.h"
- xmake_file="x-interix alpha/t-pe"
+ xmake_file=x-interix
tmake_file="alpha/t-alpha alpha/t-interix alpha/t-ieee"
if test x$enable_threads = xyes ; then
thread_file='posix'
@@ -472,21 +477,6 @@ alpha*-*-vxworks*)
use_collect2=yes
thread_file='vxworks'
;;
-alpha*-*-winnt*)
- tm_file="${tm_file} alpha/alpha32.h alpha/win-nt.h winnt/win-nt.h"
- xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
- tmake_file="t-libc-ok alpha/t-alpha alpha/t-ieee"
- xmake_file=winnt/x-winnt
- extra_host_objs=oldnames.o
- extra_gcc_objs="spawnv.o oldnames.o"
- if test x$gnu_ld != xyes
- then
- extra_programs=ld.exe
- fi
- if test x$enable_threads = xyes; then
- thread_file='win32'
- fi
- ;;
alpha*-dec-vms*)
tm_file=alpha/vms.h
xm_file="${xm_file} alpha/xm-vms.h"
@@ -685,7 +675,6 @@ hppa*-*-linux*)
;;
hppa*-*-openbsd*)
target_cpu_default="MASK_PA_11"
- tmake_file=pa/t-openbsd
;;
hppa1.1-*-rtems*)
tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
@@ -1163,7 +1152,6 @@ i[34567]86-*-isc*) # 80386 running ISC
i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux
# with a.out format using
# pre BFD linkers
- xmake_file=x-linux-aout
tmake_file="t-linux-aout i386/t-crtstuff"
tm_file=i386/linux-oldld.h
gnu_ld=yes
@@ -1171,7 +1159,6 @@ i[34567]86-*-linux*oldld*) # Intel 80386
;;
i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
# with a.out format
- xmake_file=x-linux-aout
tmake_file="t-linux-aout i386/t-crtstuff"
tm_file=i386/linux-aout.h
gnu_ld=yes
@@ -1264,7 +1251,7 @@ i[34567]86-go32-rtems*)
cpu_type=i386
xm_file=i386/xm-go32.h
tm_file=i386/go32-rtems.h
- tmake_file="i386/t-go32 t-rtems"
+ tmake_file=t-rtems
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
@@ -1510,22 +1497,6 @@ i[34567]86-*-interix*)
tm_file="${tm_file} dbxcoff.h"
fi
;;
-i[34567]86-*-winnt3*)
- tm_file=i386/win-nt.h
- out_file=i386/i386.c
- xm_file="xm-winnt.h ${xm_file}"
- xmake_file=winnt/x-winnt
- tmake_file=i386/t-winnt
- extra_host_objs="winnt.o oldnames.o"
- extra_gcc_objs="spawnv.o oldnames.o"
- if test x$gnu_ld != xyes
- then
- extra_programs=ld.exe
- fi
- if test x$enable_threads = xyes; then
- thread_file='win32'
- fi
- ;;
i[34567]86-dg-dgux*)
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
@@ -1557,7 +1528,6 @@ i860-*-mach*)
i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
tm_file="${tm_file} svr3.h i860/paragon.h"
xm_defines="USG SVR3"
- tmake_file=t-osf
;;
i860-*-sysv3*)
tm_file="${tm_file} svr3.h i860/sysv3.h"
@@ -1841,7 +1811,6 @@ m68k-ccur-rtu)
;;
m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
tm_file=m68k/hp3bsd44.h
- xmake_file=m68k/x-hp3bsd44
use_collect2=yes
extra_headers=math-68881.h
float_format=m68k
@@ -2020,7 +1989,6 @@ m68k*-*-openbsd*)
m68k-*-sysv3*) # Motorola m68k's running system V.3
xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
- xmake_file=m68k/x-m68kv
extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h
float_format=m68k
@@ -2704,7 +2672,6 @@ ns32k-pc532-minix*)
;;
ns32k-*-netbsd*)
tm_file=ns32k/netbsd.h
- xm_file="ns32k/xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
tmake_file=t-netbsd
use_collect2=yes
@@ -2739,7 +2706,7 @@ romp-*-openbsd*)
# Nothing special
;;
powerpc-*-openbsd*)
- tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
+ tmake_file="${tmake_file} rs6000/t-rs6000"
;;
powerpc-*-beos*)
cpu_type=rs6000
@@ -2878,29 +2845,13 @@ rs6000-ibm-aix3.[01]*)
;;
rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h"
- if test x$host != x$target
- then
- tmake_file=rs6000/t-xnewas
- else
- tmake_file=rs6000/t-newas
- fi
+ tmake_file=rs6000/t-newas
float_format=none
use_collect2=yes
;;
rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h"
- if test x$host != x$target
- then
- tmake_file=rs6000/t-xnewas
- else
- tmake_file=rs6000/t-newas
- fi
- if test "$gnu_ld" = yes
- then
- xmake_file=rs6000/x-aix41-gld
- else
- tmake_file='rs6000/t-newas'
- fi
+ tmake_file=rs6000/t-newas
xmake_file=rs6000/x-aix41
float_format=none
use_collect2=yes
===================================================================
Index: config/i386/crtdll.h
--- config/i386/crtdll.h 2000/11/02 23:29:09 1.11
+++ config/i386/crtdll.h 2001/02/25 00:55:05
@@ -1,7 +1,5 @@
/* Operating system specific defines to be used when targeting GCC for
- hosting on Windows32, using GNU tools and the Windows32 API Library,
- as distinct from winnt.h, which is used to build GCC for use with a
- windows style library and tool set and uses the Microsoft tools.
+ hosting on Windows32, using GNU tools and the Windows32 API Library.
This variant uses CRTDLL.DLL insted of MSVCRTDLL.DLL.
Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
===================================================================
Index: config/i386/cygwin.h
--- config/i386/cygwin.h 2001/02/05 19:31:06 1.33
+++ config/i386/cygwin.h 2001/02/25 00:55:05
@@ -1,7 +1,5 @@
/* Operating system specific defines to be used when targeting GCC for
- hosting on Windows NT 3.x, using a Unix style C library and tools,
- as distinct from winnt.h, which is used to build GCC for use with a
- windows style library and tool set and uses the Microsoft tools.
+ hosting on Windows32, using a Unix style C library and tools.
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
Free Software Foundation, Inc.
===================================================================
Index: config/i386/mingw32.h
--- config/i386/mingw32.h 2001/01/29 21:41:46 1.18
+++ config/i386/mingw32.h 2001/02/25 00:55:05
@@ -1,7 +1,5 @@
/* Operating system specific defines to be used when targeting GCC for
- hosting on Windows32, using GNU tools and the Windows32 API Library,
- as distinct from winnt.h, which is used to build GCC for use with a
- windows style library and tool set and uses the Microsoft tools.
+ hosting on Windows32, using GNU tools and the Windows32 API Library.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
===================================================================
Index: config/rs6000/t-newas
--- config/rs6000/t-newas 1999/08/05 03:27:48 1.3
+++ config/rs6000/t-newas 2001/02/25 00:55:05
@@ -1,6 +1,7 @@
# Do not build libgcc1.
LIBGCC1 =
CROSS_LIBGCC1 =
+LIBGCC1_TEST =
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
===================================================================
Index: config/rs6000/t-rs6000
--- config/rs6000/t-rs6000 1999/08/05 03:27:48 1.3
+++ config/rs6000/t-rs6000 2001/02/25 00:55:05
@@ -1,6 +1,7 @@
# Do not build libgcc1.
LIBGCC1 =
CROSS_LIBGCC1 =
+LIBGCC1_TEST =
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.