From 513f3e74ed0f8037762dab1ad8c1604f6f1e57ba Mon Sep 17 00:00:00 2001 From: zack Date: Sun, 25 Feb 2001 01:06:15 +0000 Subject: [PATCH] * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40044 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config.gcc | 69 +++---------------- gcc/config/1750a/xm-1750a.h | 23 ------- gcc/config/alpha/config-nt.sed | 33 --------- gcc/config/alpha/win-nt.h | 62 ----------------- gcc/config/alpha/xm-winnt.h | 34 ---------- gcc/config/i386/beos-pe.h | 0 gcc/config/i386/config-nt.sed | 38 ----------- gcc/config/i386/crtdll.h | 4 +- gcc/config/i386/cygwin.h | 4 +- gcc/config/i386/mingw32.h | 4 +- gcc/config/i386/os2.h | 76 --------------------- gcc/config/i386/t-winnt | 6 -- gcc/config/i386/win-nt.h | 149 ----------------------------------------- gcc/config/i386/xm-freebsd.h | 4 -- gcc/config/i386/xm-os2.h | 74 -------------------- gcc/config/i386/xm-winnt.h | 24 ------- gcc/config/m68k/x-alloca-c | 1 - gcc/config/m88k/x-dguxbcs | 4 -- gcc/config/mips/x-netbsd | 17 ----- gcc/config/mips/x-nws3250v4 | 19 ------ gcc/config/ns32k/xm-netbsd.h | 3 - gcc/config/rs6000/t-newas | 1 + gcc/config/rs6000/t-rs6000 | 1 + gcc/config/rs6000/t-xnewas | 59 ---------------- gcc/config/rs6000/t-xrs6000 | 29 -------- gcc/config/rs6000/xm-cygwin.h | 1 - gcc/config/x-linux-aout | 14 ---- gcc/config/xm-freebsd.h | 24 ------- 28 files changed, 15 insertions(+), 762 deletions(-) delete mode 100644 gcc/config/1750a/xm-1750a.h delete mode 100644 gcc/config/alpha/config-nt.sed delete mode 100644 gcc/config/alpha/win-nt.h delete mode 100644 gcc/config/alpha/xm-winnt.h delete mode 100644 gcc/config/i386/beos-pe.h delete mode 100644 gcc/config/i386/config-nt.sed delete mode 100644 gcc/config/i386/os2.h delete mode 100644 gcc/config/i386/t-winnt delete mode 100644 gcc/config/i386/win-nt.h delete mode 100644 gcc/config/i386/xm-freebsd.h delete mode 100644 gcc/config/i386/xm-os2.h delete mode 100644 gcc/config/i386/xm-winnt.h delete mode 100644 gcc/config/m68k/x-alloca-c delete mode 100644 gcc/config/m88k/x-dguxbcs delete mode 100644 gcc/config/mips/x-netbsd delete mode 100644 gcc/config/mips/x-nws3250v4 delete mode 100644 gcc/config/ns32k/xm-netbsd.h delete mode 100644 gcc/config/rs6000/t-xnewas delete mode 100644 gcc/config/rs6000/t-xrs6000 delete mode 100644 gcc/config/rs6000/xm-cygwin.h delete mode 100644 gcc/config/x-linux-aout delete mode 100644 gcc/config/xm-freebsd.h diff --git a/gcc/config.gcc b/gcc/config.gcc index e7ed839..e5c57d9 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 system 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's running GNU/Linux ;; 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 diff --git a/gcc/config/1750a/xm-1750a.h b/gcc/config/1750a/xm-1750a.h deleted file mode 100644 index 69803ce..0000000 --- a/gcc/config/1750a/xm-1750a.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Configuration for GNU C-compiler for MIL-STD-1750a. - Copyright (C) 1995 Free Software Foundation, Inc. - - 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 GNU CC; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ - -#error Gcc cannot run on a 1750a due to size problems! diff --git a/gcc/config/alpha/config-nt.sed b/gcc/config/alpha/config-nt.sed deleted file mode 100644 index 62a85fb..0000000 --- a/gcc/config/alpha/config-nt.sed +++ /dev/null @@ -1,33 +0,0 @@ -/^Makefile/,/^ rm -f config.run/d -s/rm -f/del/ -s/|| cp/|| copy/ -/^config.status/,/ fi/d -s/config.status//g -s/\/dev\/null/NUL/g -s/$(srcdir)\/c-parse/c-parse/g -s/$(srcdir)\/c-gperf/c-gperf/g -/^multilib.h/ s/multilib/not-multilib/ -/^target=/ c\ -target=winnt3.5 -/^xmake_file=/ d -/^tmake_file=/ d -/^out_file/ c\ -out_file=config/alpha/alpha.c -/^out_object_file/ c\ -out_object_file=alpha.obj -/^md_file/ c\ -md_file=config/alpha/alpha.md -/^tm_file/ c\ -tm_file=config/alpha/alpha.h config/alpha/winnt.h -/^build_xm_file/ c\ -build_xm_file=config/alpha/xm-alpha.h config/winnt/xm-winnt.h config/alpha/xm-winnt.h -/^host_xm_file/ c\ -host_xm_file=config/alpha/xm-alpha.h config/winnt/xm-winnt.h config/alpha/xm-winnt.h -/^####target/ i\ -CC = cl \ -CLIB = libc.lib kernel32.lib \ -CFLAGS = -Dalpha -DWIN32 -D_WIN32 -D_ALPHA_ -D_M_ALPHA \\\ - -DALMOST_STDC \ -LDFLAGS = -subsystem:console -entry:mainCRTStartup \\\ - -stack:1000000,1000 \ - diff --git a/gcc/config/alpha/win-nt.h b/gcc/config/alpha/win-nt.h deleted file mode 100644 index 6e24d1d..0000000 --- a/gcc/config/alpha/win-nt.h +++ /dev/null @@ -1,62 +0,0 @@ -/* Definitions of target machine for GNU compiler, for DEC Alpha - running Windows/NT. - Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc. - Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - -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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#undef TARGET_DEFAULT -#define TARGET_DEFAULT (MASK_FP | MASK_FPREGS) - -/* Names to predefine in the preprocessor for this target machine. */ - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-DWIN32 -D_WIN32 -DWINNT -D__STDC__=0 -DALMOST_STDC \ --D_M_ALPHA -D_ALPHA_ -D_LONGLONG -D__unaligned= -D__stdcall= -Asystem=winnt" - -#undef ASM_SPEC -#undef ASM_FINAL_SPEC -#define ASM_SPEC "-nopp -nologo %{g:-Zi}" - -#undef WCHAR_TYPE -#define WCHAR_TYPE "short unsigned int" -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 16 - -/* We can't do any debugging. */ -#undef SDB_DEBUGGING_INFO -#undef DBX_DEBUGGING_INFO -#undef MIPS_DEBUGGING_INFO - -#undef ASM_FILE_START -#define ASM_FILE_START(FILE) \ -{ \ - alpha_write_verstamp (FILE); \ - fprintf (FILE, "\t.set noreorder\n"); \ - fprintf (FILE, "\t.set volatile\n"); \ - fprintf (FILE, "\t.set noat\n"); \ - fprintf (FILE, "\t.globl\t__fltused\n"); \ - ASM_OUTPUT_SOURCE_FILENAME (FILE, main_input_filename); \ -} - -#undef LIB_SPEC -#define LIB_SPEC "%{mwindows:-subsystem windows -e _WinMainCRTStartup \ - USER32.LIB%s GDI32.LIB%s COMDLG32.LIB%s WINSPOOL.LIB%s} \ - %{!mwindows:-subsystem console -e _mainCRTStartup} \ - %{mcrtmt:LIBCMT.LIB%s KERNEL32.LIB%s} %{!mcrtmt:LIBC.LIB%s KERNEL32.LIB%s} \ - %{v}" diff --git a/gcc/config/alpha/xm-winnt.h b/gcc/config/alpha/xm-winnt.h deleted file mode 100644 index f84be8d..0000000 --- a/gcc/config/alpha/xm-winnt.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Configuration for GNU compiler for an Alpha running Windows NT 3.x. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. - Contributed by Douglas B. Rupp (drupp@cs.washington.edu) - -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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#undef HOST_BITS_PER_LONG -#define HOST_BITS_PER_LONG 32 - -#undef POSIX - -#define access _access -#define close _close -#define mktemp _mktemp -#define open _open -#define read _read -#define write _write - -#undef HAS_INIT_SECTION diff --git a/gcc/config/i386/beos-pe.h b/gcc/config/i386/beos-pe.h deleted file mode 100644 index e69de29..0000000 diff --git a/gcc/config/i386/config-nt.sed b/gcc/config/i386/config-nt.sed deleted file mode 100644 index 6c86b27..0000000 --- a/gcc/config/i386/config-nt.sed +++ /dev/null @@ -1,38 +0,0 @@ -/^Makefile/,/^ rm -f config.run/d -s/rm -f/del/ -s/|| cp/|| copy/ -/^config.status/,/ fi/d -s/config.status//g -s/\/dev\/null/NUL/g -s/$(srcdir)\/c-parse/c-parse/g -s/$(srcdir)\/c-gperf/c-gperf/g -/^multilib.h/ s/multilib/not-multilib/ -/^target=/ c\ -target=winnt3.5 -/^xmake_file=/ d -/^tmake_file=/ d -/^out_file/ c\ -out_file=config/i386/i386.c -/^out_object_file/ c\ -out_object_file=i386.obj -/^md_file/ c\ -md_file=config/i386/i386.md -/^tm_file/ c\ -tm_file=config/i386/win-nt.h -/^build_xm_file/ c\ -build_xm_file=config/i386/xm-winnt.h -/^host_xm_file/ c\ -host_xm_file=config/i386/xm-winnt.h -/^####target/ i\ -CC = cl \ -CLIB = libc.lib kernel32.lib \ -CFLAGS = -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 \\\ - -DALMOST_STDC -D_MSC_VER=800 \ -LDFLAGS = -align:0x1000 -subsystem:console -entry:mainCRTStartup \\\ - -stack:1000000,1000 \ -\ -EXTRA_OBJS=winnt.obj \ -winnt.obj: $(srcdir)/config/i386/winnt.c \ -\ $(CC) $(CFLAGS) \\\ -\ -I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/i386/winnt.c \ - diff --git a/gcc/config/i386/crtdll.h b/gcc/config/i386/crtdll.h index ff2b81f..ce35ad0 100644 --- a/gcc/config/i386/crtdll.h +++ b/gcc/config/i386/crtdll.h @@ -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. diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 46b93ae..94fbcec 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -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. diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 56d8fbd..3958696 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -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. diff --git a/gcc/config/i386/os2.h b/gcc/config/i386/os2.h deleted file mode 100644 index 8bbab36..0000000 --- a/gcc/config/i386/os2.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Definitions of target machine for GNU compiler - for an Intel i386 or later processor running OS/2 2.x. - Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. - Contributed by Samuel Figueroa (figueroa@cs.nyu.edu) - -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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#ifndef DEFAULT_TARGET_MACHINE -#define DEFAULT_TARGET_MACHINE "i386-os2" -#endif -#ifndef LINK_SPEC -#define LINK_SPEC "/st:1048576/pm:vio/noi/a:16/e/bas:65536/nol" -#endif -#ifndef LIB_SPEC -#define LIB_SPEC "libgcc libc" -#endif -#ifndef STARTFILE_SPEC -#define STARTFILE_SPEC "libcrt.lib" -#endif -#ifndef MD_EXEC_PREFIX -#define MD_EXEC_PREFIX "\\gcc\\bin\\" -#endif -#ifndef STANDARD_STARTFILE_PREFIX -#define STANDARD_STARTFILE_PREFIX "\\gcc\\lib\\" -#endif -#ifndef LOCAL_INCLUDE_DIR -#define LOCAL_INCLUDE_DIR "\\gcc\\include" -#endif - -#define YES_UNDERSCORES -#include "i386/gstabs.h" - -#define USE_COLLECT - -#define BIGGEST_FIELD_ALIGNMENT \ - (maximum_field_alignment ? maximum_field_alignment : 32) - -extern int maximum_field_alignment; - -#undef PCC_BITFIELD_TYPE_MATTERS -#define PCC_BITFIELD_TYPE_MATTERS (maximum_field_alignment == 0) - -/* Define this macro if it is advisable to hold scalars in registers - in a wider mode than that declared by the program. In such cases, - the value is constrained to be within the bounds of the declared - type, but kept valid in the wider mode. The signedness of the - extension may differ from that of the type. */ - -#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \ - if (GET_MODE_CLASS (MODE) == MODE_INT \ - && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \ - (MODE) = SImode; - -/* Define this if function arguments should also be promoted using the above - procedure. */ - -#define PROMOTE_FUNCTION_ARGS - -/* Likewise, if the function return value is promoted. */ - -#define PROMOTE_FUNCTION_RETURN diff --git a/gcc/config/i386/t-winnt b/gcc/config/i386/t-winnt deleted file mode 100644 index 50e0566..0000000 --- a/gcc/config/i386/t-winnt +++ /dev/null @@ -1,6 +0,0 @@ -winnt.o: $(srcdir)/config/i386/winnt.c $(RTL_H) $(TREE_H) - $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c -oldnames.o: $(srcdir)/config/winnt/oldnames.c - $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/winnt/oldnames.c -spawnv.o: $(srcdir)/config/winnt/spawnv.c - $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/winnt/spawnv.c diff --git a/gcc/config/i386/win-nt.h b/gcc/config/i386/win-nt.h deleted file mode 100644 index ce1e5bf..0000000 --- a/gcc/config/i386/win-nt.h +++ /dev/null @@ -1,149 +0,0 @@ -/* Operating system specific defines to be used when targeting GCC for - Windows NT 3.x on an i386. - Copyright (C) 1994, 1995, 1998, 1999 Free Software Foundation, Inc. - Contributed by Douglas B. Rupp (drupp@cs.washington.edu). - -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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#define YES_UNDERSCORES - -#include "i386/gas.h" - -#ifdef CPP_PREDEFINES -#undef CPP_PREDEFINES -#endif -#define CPP_PREDEFINES "-Dunix -DWIN32 -D_WIN32 \ - -DWINNT -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -DALMOST_STDC -D_MSC_VER=800 \ - -D__stdcall=__attribute__((__stdcall__)) \ - -D__cdecl=__attribute__((__cdecl__)) \ - -D_cdecl=__attribute__((__cdecl__)) \ - -Asystem=unix -Asystem=winnt" - -#define SIZE_TYPE "unsigned int" -#define PTRDIFF_TYPE "int" -#define WCHAR_UNSIGNED 1 -#define WCHAR_TYPE_SIZE 16 -#define WCHAR_TYPE "short unsigned int" -#undef LONG_DOUBLE_TYPE_SIZE -#define LONG_DOUBLE_TYPE_SIZE 64 - -#undef EXTRA_SECTIONS -#define EXTRA_SECTIONS in_ctor, in_dtor - -#undef EXTRA_SECTION_FUNCTIONS -#define EXTRA_SECTION_FUNCTIONS \ - CTOR_SECTION_FUNCTION \ - DTOR_SECTION_FUNCTION - -#define CTOR_SECTION_FUNCTION \ -void \ -ctor_section () \ -{ \ - if (in_section != in_ctor) \ - { \ - fprintf (asm_out_file, "\t.section .ctor\n"); \ - in_section = in_ctor; \ - } \ -} - -#define DTOR_SECTION_FUNCTION \ -void \ -dtor_section () \ -{ \ - if (in_section != in_dtor) \ - { \ - fprintf (asm_out_file, "\t.section .dtor\n"); \ - in_section = in_dtor; \ - } \ -} - -#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \ - do { \ - ctor_section (); \ - fprintf (FILE, "%s\t", ASM_LONG); \ - assemble_name (FILE, NAME); \ - fprintf (FILE, "\n"); \ - } while (0) - -#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \ - do { \ - dtor_section (); \ - fprintf (FILE, "%s\t", ASM_LONG); \ - assemble_name (FILE, NAME); \ - fprintf (FILE, "\n"); \ - } while (0) - -/* Define this macro if references to a symbol must be treated - differently depending on something about the variable or - function named by the symbol (such as what section it is in). - - On i386, if using PIC, mark a SYMBOL_REF for a non-global symbol - so that we may access it directly in the GOT. - - On i386 running Windows NT, modify the assembler name with a suffix - consisting of an atsign (@) followed by string of digits that represents - the number of bytes of arguments passed to the function, if it has the - attribute STDCALL. */ - -#ifdef ENCODE_SECTION_INFO -#undef ENCODE_SECTION_INFO -#define ENCODE_SECTION_INFO(DECL) \ -do \ - { \ - if (flag_pic) \ - { \ - rtx rtl = (TREE_CODE_CLASS (TREE_CODE (DECL)) != 'd' \ - ? TREE_CST_RTL (DECL) : DECL_RTL (DECL)); \ - SYMBOL_REF_FLAG (XEXP (rtl, 0)) \ - = (TREE_CODE_CLASS (TREE_CODE (DECL)) != 'd' \ - || ! TREE_PUBLIC (DECL)); \ - } \ - if (TREE_CODE (DECL) == FUNCTION_DECL) \ - if (lookup_attribute ("stdcall", \ - TYPE_ATTRIBUTES (TREE_TYPE (DECL)))) \ - XEXP (DECL_RTL (DECL), 0) = \ - gen_rtx_SYMBOL_REF (Pmode, gen_stdcall_suffix (DECL)); \ - } \ -while (0) -#endif - -/* The global __fltused is necessary to cause the printf/scanf routines - for outputting/inputting floating point numbers to be loaded. Since this - is kind of hard to detect, we just do it all the time. */ - -#ifdef ASM_FILE_START -#undef ASM_FILE_START -#endif -#define ASM_FILE_START(FILE) \ - do { output_file_directive (FILE, main_input_filename); \ - fprintf (FILE, ".global\t__fltused\n"); \ - } while (0) - -/* if the switch "-mwindows" is passed to ld, then specify to the Microsoft - linker the proper switches and libraries to build a graphical program */ - -#undef LIB_SPEC -#define LIB_SPEC "%{mwindows:-subsystem windows -e _WinMainCRTStartup \ - USER32.LIB%s GDI32.LIB%s COMDLG32.LIB%s WINSPOOL.LIB%s} \ - %{!mwindows:-subsystem console -e _mainCRTStartup} \ - %{mcrtmt:LIBCMT.LIB%s KERNEL32.LIB%s ADVAPI32.LIB%s} \ - %{!mcrtmt:LIBC.LIB%s KERNEL32.LIB%s ADVAPI32.LIB%s} \ - %{v}" - -#include "winnt/win-nt.h" - diff --git a/gcc/config/i386/xm-freebsd.h b/gcc/config/i386/xm-freebsd.h deleted file mode 100644 index 007a609..0000000 --- a/gcc/config/i386/xm-freebsd.h +++ /dev/null @@ -1,4 +0,0 @@ -/* Configuration for GCC for Intel i386 running FreeBSD as host. */ - -#include -#include diff --git a/gcc/config/i386/xm-os2.h b/gcc/config/i386/xm-os2.h deleted file mode 100644 index 3c84877..0000000 --- a/gcc/config/i386/xm-os2.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Configuration for GNU compiler - for an Intel i386 or later processor running OS/2 2.x. - Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999 Free Software Foundation, Inc. - Contributed by Samuel Figueroa (figueroa@apple.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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#ifndef OS2 -#define OS2 -#endif - -#ifdef __IBMC__ -#include /* this defines alloca */ -#define USG -#define ONLY_INT_FIELDS -#define USE_PROTOTYPES 1 -#define strcasecmp stricmp -#define kill(a,b) raise(b) -#define mktemp tmpnam -#else -#ifdef __EMX__ -#define EMX -#define USG -#define HAVE_PUTENV -#define HAVE_VPRINTF -#define HAVE_STRERROR -#define strcasecmp stricmp -#else -#define ____386BSD____ -int spawnv (int modeflag, char *path, char *argv[]); -int spawnvp (int modeflag, char *path, char *argv[]); -#endif /* __EMX__ */ -#endif /* __IBMC__ */ - -#ifndef PATH_SEPARATOR -#define PATH_SEPARATOR ';' -#endif -#ifndef DIR_SEPARATOR -#define DIR_SEPARATOR '\\' -#endif -#ifndef DIR_SEPARATOR_2 -#define DIR_SEPARATOR_2 '/' -#endif - -/* Allow handling of drive names. */ -#define HAVE_DOS_BASED_FILE_SYSTEM - -#define EXECUTABLE_SUFFIX ".exe" - -/* The EMX compiler uses regular .o files */ -#ifndef __EMX__ -#define OBJECT_SUFFIX ".obj" -#endif - -/* Tell GCC about OS/2's bit bucket. */ - -#define HOST_BIT_BUCKET "NUL" - -#include "i386/xm-i386.h" diff --git a/gcc/config/i386/xm-winnt.h b/gcc/config/i386/xm-winnt.h deleted file mode 100644 index d36d2cd..0000000 --- a/gcc/config/i386/xm-winnt.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Configuration for GNU compiler - for an Intel i386 or later processor running Windows NT 3.x. - Copyright (C) 1994 Free Software Foundation, Inc. - Contributed by Douglas B. Rupp (drupp@cs.washington.edu) - -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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include "winnt/xm-winnt.h" -#include "i386/xm-i386.h" diff --git a/gcc/config/m68k/x-alloca-c b/gcc/config/m68k/x-alloca-c deleted file mode 100644 index 3375d42..0000000 --- a/gcc/config/m68k/x-alloca-c +++ /dev/null @@ -1 +0,0 @@ -ALLOCA=alloca.o diff --git a/gcc/config/m88k/x-dguxbcs b/gcc/config/m88k/x-dguxbcs deleted file mode 100644 index 8baf0ca..0000000 --- a/gcc/config/m88k/x-dguxbcs +++ /dev/null @@ -1,4 +0,0 @@ -CC = gcc -BISONFLAGS = -l -USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS) -STMP_FIXPROTO = diff --git a/gcc/config/mips/x-netbsd b/gcc/config/mips/x-netbsd deleted file mode 100644 index 49a89f3..0000000 --- a/gcc/config/mips/x-netbsd +++ /dev/null @@ -1,17 +0,0 @@ -# Don't run fixproto -STMP_FIXPROTO = - -# We don't need GCC's own include files. -USER_H = $(srcdir)/ginclude/stdarg.h $(srcdir)/ginclude/varargs.h \ - $(srcdir)/ginclude/va-mips.h $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS) - -XLIMITS_H = - -# We don't need even the files GCC insists we need. -GENINCLUDES = Makefile.in - -# A lot of stuff needs to go elsewhere. -includedir=$(exec_prefix)/include -infodir=$(exec_prefix)/share/info -tooldir=$(libdir)/cross/$(target) -mandir=$(exec_prefix)/share/man/man1 diff --git a/gcc/config/mips/x-nws3250v4 b/gcc/config/mips/x-nws3250v4 deleted file mode 100644 index 4f5cf26..0000000 --- a/gcc/config/mips/x-nws3250v4 +++ /dev/null @@ -1,19 +0,0 @@ -# Define CC and OLDCC as the same, so that the tests: -# if [ x"$(OLDCC)" = x"$(CC)" ] ... -# -# will succeed (if OLDCC != CC, it is assumed that GCC is -# being used in secondary stage builds). We need to pass -# the -Wf,-XNg1500 option so the compiler can compile the -# G++ file cp-parse.c. Otherwise it complains about -# too many case statements. Down with fixed size tables! - -CC = $(OLDCC) -OLDCC = cc -Wf,-XNg1500 -CCLIBFLAGS = -G 0 - -ALLOCA = alloca.o - -# The bison output files are machine-indep, -# so different flags for a particular machine are not useful. -#BISONFLAGS = -l - diff --git a/gcc/config/ns32k/xm-netbsd.h b/gcc/config/ns32k/xm-netbsd.h deleted file mode 100644 index 676b64a..0000000 --- a/gcc/config/ns32k/xm-netbsd.h +++ /dev/null @@ -1,3 +0,0 @@ -/* Configuration for GCC for ns32k running NetBSD as host. */ - -/* Nothing needs to be done */ diff --git a/gcc/config/rs6000/t-newas b/gcc/config/rs6000/t-newas index cadcb95..fe858d1 100644 --- a/gcc/config/rs6000/t-newas +++ b/gcc/config/rs6000/t-newas @@ -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. diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000 index 98f4473..5cbed6a 100644 --- a/gcc/config/rs6000/t-rs6000 +++ b/gcc/config/rs6000/t-rs6000 @@ -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. diff --git a/gcc/config/rs6000/t-xnewas b/gcc/config/rs6000/t-xnewas deleted file mode 100644 index 219eaf3..0000000 --- a/gcc/config/rs6000/t-xnewas +++ /dev/null @@ -1,59 +0,0 @@ -# Same as t-newas, except don't build libgcc1-test. This is because -# the compiler emits code to call external functions to save the -# arguments that are in libc, but since libgcc1-test is linked without -# libc, they will show up as errors. -LIBGCC1_TEST = - -# Do not build libgcc1. -LIBGCC1 = -CROSS_LIBGCC1 = - -# 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 - cat $(srcdir)/config/fp-bit.c > dp-bit.c - -fp-bit.c: $(srcdir)/config/fp-bit.c - echo '#define FLOAT' > fp-bit.c - cat $(srcdir)/config/fp-bit.c >> fp-bit.c - -# Build the libraries for both hard and soft floating point and all of the -# different processor models - -MULTILIB_OPTIONS = msoft-float \ - mcpu=common/mcpu=power/mcpu=powerpc - -MULTILIB_DIRNAMES = soft-float \ - common power powerpc - -MULTILIB_MATCHES = msoft-float=mcpu?403 \ - mcpu?power=mpower \ - mcpu?power=mrios1 \ - mcpu?power=mcpu?rios1 \ - mcpu?power=mcpu?rsc \ - mcpu?power=mcpu?rsc1 \ - mcpu?power=mpower2 \ - mcpu?power=mrios2 \ - mcpu?power=mcpu=rios2 \ - mcpu?powerpc=mcpu?601 \ - mcpu?powerpc=mcpu?602 \ - mcpu?powerpc=mcpu?603 \ - mcpu?powerpc=mcpu?603e \ - mcpu?powerpc=mcpu?604 \ - mcpu?powerpc=mcpu?620 \ - mcpu?powerpc=mcpu?403 \ - mcpu?powerpc=mpowerpc \ - mcpu?powerpc=mpowerpc-gpopt \ - mcpu?powerpc=mpowerpc-gfxopt - -LIBGCC = stmp-multilib -INSTALL_LIBGCC = install-multilib - -# Aix 3.2.x needs milli.exp for -mcpu=common -EXTRA_PARTS = milli.exp -milli.exp: $(srcdir)/config/rs6000/milli.exp - rm -f milli.exp - cp $(srcdir)/config/rs6000/milli.exp ./milli.exp diff --git a/gcc/config/rs6000/t-xrs6000 b/gcc/config/rs6000/t-xrs6000 deleted file mode 100644 index fc6cc60..0000000 --- a/gcc/config/rs6000/t-xrs6000 +++ /dev/null @@ -1,29 +0,0 @@ -# Same as t-rs6000, except don't build libgcc1-test. This is because -# the compiler emits code to call external functions to save the -# arguments that are in libc, but since libgcc1-test is linked without -# libc, they will show up as errors. -LIBGCC1_TEST = - -# Do not build libgcc1. -LIBGCC1 = -CROSS_LIBGCC1 = - -# 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 - cat $(srcdir)/config/fp-bit.c > dp-bit.c - -fp-bit.c: $(srcdir)/config/fp-bit.c - echo '#define FLOAT' > fp-bit.c - cat $(srcdir)/config/fp-bit.c >> fp-bit.c - -# Build the libraries for both hard and soft floating point - -MULTILIB_OPTIONS = msoft-float -MULTILIB_DIRNAMES = soft-float - -LIBGCC = stmp-multilib -INSTALL_LIBGCC = install-multilib diff --git a/gcc/config/rs6000/xm-cygwin.h b/gcc/config/rs6000/xm-cygwin.h deleted file mode 100644 index ca54831..0000000 --- a/gcc/config/rs6000/xm-cygwin.h +++ /dev/null @@ -1 +0,0 @@ -#define EXECUTABLE_SUFFIX ".exe" diff --git a/gcc/config/x-linux-aout b/gcc/config/x-linux-aout deleted file mode 100644 index 36ae68a..0000000 --- a/gcc/config/x-linux-aout +++ /dev/null @@ -1,14 +0,0 @@ -# It is defined in config/xm-linux.h. -# X_CFLAGS = -DPOSIX - -# The following is needed when compiling stages 2 and 3 because gcc's -# limits.h must be picked up before /usr/include/limits.h. This is because -# each does an #include_next of the other if the other hasn't been included. -# /usr/include/limits.h loses if it gets found first because /usr/include is -# at the end of the search order. When a new version of gcc is released, -# gcc's limits.h hasn't been installed yet and hence isn't found. - -# BOOT_CFLAGS = -O $(CFLAGS) -Iinclude - -# Don't run fixproto -# STMP_FIXPROTO = diff --git a/gcc/config/xm-freebsd.h b/gcc/config/xm-freebsd.h deleted file mode 100644 index b71ff56..0000000 --- a/gcc/config/xm-freebsd.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Configuration for GNU C-compiler for hosts running FreeBSD. - Copyright (C) 1994, 1995 Free Software Foundation, Inc. - -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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* This file defines machine-independent things specific to a host - running FreeBSD. This file should not be specified as $xm_file itself; - instead $xm_file should be CPU/xm-freebsd.h, which should include both - CPU/xm-CPU.h and this file xm-freebsd.h. */ -- 2.7.4