summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-06 09:52:35 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-06 09:52:35 +0000
commitf8d49ce1f2e38dba84b97538980ddba3f8518818 (patch)
tree7e22f9fda0da4355d8a7de6e9143a24ad9ac4db4 /gcc/config.gcc
parent5bf4303e2b3e213e573bf72d7b7b05ad78e9b8bb (diff)
downloadgcc-f8d49ce1f2e38dba84b97538980ddba3f8518818.tar.gz
libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. * configure.in: Replace all alloca logic with a simple use of the above new macro. * config.table: Kill *-*-beos* entry. * config/mh-beos: Delete. * configure, config.in: Regenerate. * Makefile.in (ALLOCA, HFILES): Kill. (REQUIRED_OFILES): Add alloca.o. (alloca.o): Depend on libiberty.h. (argv.o): Don't depend on alloca-conf.h. * alloca-conf.h: Delete. * alloca.c: Include libiberty.h. Kill all #ifdef emacs blocks. Provide the C alloca unconditionally. Use PTR where appropriate. Make i00afunc static. * argv.c: Don't include alloca-conf.h. include: * libiberty.h: Prototype C_alloca; define alloca to either __builtin_alloca or C_alloca as appropriate. gcc: * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE AC_FUNC_ALLOCA. * configure, config.in: Regenerate. * config.gcc: Remove references to deleted files. * genattr.c, genattrtab.c, genextract.c, genoutput.c, genrecog.c, rtl.c: Do not use alloca anywhere. * Makefile.in, build-make, system.h, config/x-interix, config/x-svr4, config/xm-interix.h, config/xm-openbsd.h, config/alpha/xm-alpha.h, config/alpha/xm-vms.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/i370/x-oe, config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos, config/i386/x-ncr3000, config/i386/x-sco5, config/i386/xm-dgux.h, config/i860/x-sysv4, config/i960/xm-i960.h, config/m32r/xm-m32r.h, config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320, config/m68k/x-hp320g, config/m69k/x-mot3300, config/m68k/x-mot3300-gas, config/m68k/xm-amix.h, config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h, config/m68k/xm-mot3300.h, config/m88k/x-dolph, config/m88k/x-sysv4, config/m88k/x-tekXD88, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/x-iris, config/mips/x-iris3, config/mips/x-sni-svr4, config/mips/x-sysv, config/mips/xm-iris6.h, config/mips/xm-mips.h, config/mips/xm-nws3250v4.h, config/pa/x-hpux, config/pa/x-pa-mpeix, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/romp/xm-romp.h, config/rs6000/x-aix31, config/rs6000/x-aix41, config/rs6000/x-beos, config/rs6000/x-lynx, config/rs6000/x-mach, config/rs6000/x-rs6000, config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/x-sysv4, config/sparc/xm-linux.h, config/sparc/xm-pbd.h, config/sparc/xm-sparc.h, config/vax/xm-vms.h: Eradicate all references to alloca and related stuff. * config/xm-alloca.h, config/clipper/x-clix, config/i386/xm-sysv4.h, config/i860/x-fx2800, config/i860/x-sysv3, config/m88k/x-sysv3, config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete (contained only alloca related hacks). * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define USE_C_ALLOCA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40259 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc43
1 files changed, 10 insertions, 33 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index a1282572c85..0128d33b66e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -610,7 +610,6 @@ c4x-*)
clipper-intergraph-clix*)
tm_file="${tm_file} svr3.h clipper/clix.h"
xm_file=clipper/xm-clix.h
- xmake_file=clipper/x-clix
extra_headers=va-clipper.h
extra_parts="crtbegin.o crtend.o"
install_headers_dir=install-headers-cpio
@@ -945,7 +944,7 @@ i370-*-linux*)
fi
;;
i[34567]86-*-chorusos*)
- xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h"
+ xm_file="${xm_file} xm-svr4.h"
tm_file="i386/i386.h i386/att.h elfos.h i386/i386afe.h i386/i386elf.h i386/chorus.h"
tmake_file=i386/t-i386elf
xmake_file=x-svr4
@@ -956,7 +955,7 @@ i[34567]86-*-chorusos*)
esac
;;
i[34567]86-*-elf*)
- xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h"
+ xm_file="${xm_file} xm-svr4.h"
tm_file="i386/i386.h i386/att.h elfos.h i386/i386afe.h i386/i386elf.h"
tmake_file=i386/t-i386elf
xmake_file=x-svr4
@@ -971,12 +970,10 @@ i[34567]86-ibm-aix*) # IBM PS/2 running AIX
tm_file=i386/aix386ng.h
use_collect2=yes
fi
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
xmake_file=i386/x-aix
;;
i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
xmake_file=i386/x-ncr3000
if test x$stabs = xyes -a x$gas = xyes
@@ -1029,7 +1026,6 @@ i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
install_headers_dir=install-headers-cpio
;;
i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
- xm_file="xm-alloca.h ${xm_file}"
if test x$gas = xyes
then
tm_file="${tm_file} usegas.h"
@@ -1251,7 +1247,7 @@ i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
fi
;;
i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
- xm_file="xm-alloca.h ${xm_file} i386/xm-sco5.h"
+ xm_file="${xm_file} i386/xm-sco5.h"
xm_defines="USG SVR3"
xmake_file=i386/x-sco5
install_headers_dir=install-headers-cpio
@@ -1305,7 +1301,6 @@ i[34567]86-*-sco*) # 80386 running SCO system
truncate_target=yes
;;
i[34567]86-*-solaris2*)
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
tm_file=i386/sol2.h
if test x$gas = xyes; then
@@ -1330,7 +1325,6 @@ i[34567]86-*-solaris2*)
fi
;;
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
tm_file=i386/sysv5.h
if test x$stabs = xyes
@@ -1345,7 +1339,6 @@ i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
fi
;;
i[34567]86-*-sysv4*) # Intel 80386's running system V.4
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
tm_file=i386/sysv4.h
if test x$stabs = xyes
@@ -1357,7 +1350,6 @@ i[34567]86-*-sysv4*) # Intel 80386's running system V.4
extra_parts="crtbegin.o crtend.o"
;;
i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
tm_file=i386/udk.h
tmake_file="i386/t-i386bare i386/t-crtpic i386/t-udk"
@@ -1367,7 +1359,7 @@ i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
;;
i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
cpu_type=i386
- xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
+ xm_file="${xm_file} xm-svr4.h i386/xm-osf1elf.h"
xm_defines="USE_C_ALLOCA SMALL_ARG_MAX"
if test x$stabs = xyes
then
@@ -1475,7 +1467,6 @@ i[34567]86-*-interix*)
fi
;;
i[34567]86-dg-dgux*)
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
out_file=i386/dgux.c
tm_file=i386/dgux.h
@@ -1486,7 +1477,6 @@ i[34567]86-dg-dgux*)
i860-alliant-*) # Alliant FX/2800
tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
xm_file="${xm_file}"
- xmake_file=i860/x-fx2800
tmake_file=i860/t-fx2800
extra_parts="crtbegin.o crtend.o"
;;
@@ -1509,7 +1499,6 @@ i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
i860-*-sysv3*)
tm_file="${tm_file} svr3.h i860/sysv3.h"
xm_defines="USG SVR3"
- xmake_file=i860/x-sysv3
extra_parts="crtbegin.o crtend.o"
;;
i860-*-sysv4*)
@@ -1609,7 +1598,6 @@ m68000-hp-bsd*) # HP 9000/200 running BSD
extra_headers=math-68881.h
;;
m68000-hp-hpux*) # HP 9000 series 300
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG"
if test x$gas = xyes
then
@@ -1696,7 +1684,6 @@ m68k-bull-sysv*) # Bull DPX/2
else
tm_file=m68k/dpx2.h
fi
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
xmake_file=m68k/x-dpx2
use_collect2=yes
@@ -1704,7 +1691,6 @@ m68k-bull-sysv*) # Bull DPX/2
;;
m68k-atari-sysv4*) # Atari variant of V.4.
tm_file=m68k/atari.h
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
@@ -1713,7 +1699,7 @@ m68k-atari-sysv4*) # Atari variant of V.4.
;;
m68k-motorola-sysv*)
tm_file=m68k/mot3300.h
- xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
+ xm_file="m68k/xm-mot3300.h ${xm_file}"
if test x$gas = xyes
then
xmake_file=m68k/x-mot3300-gas
@@ -1748,19 +1734,17 @@ m68k-ncr-sysv*) # NCR Tower 32 SVR3
;;
m68k-plexus-sysv*)
tm_file=m68k/plexus.h
- xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
+ xm_file="m68k/xm-plexus.h ${xm_file}"
xm_defines=USG
use_collect2=yes
extra_headers=math-68881.h
;;
m68k-tti-*)
tm_file=m68k/pbb.h
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
extra_headers=math-68881.h
;;
m68k-crds-unos*)
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG unos"
xmake_file=m68k/x-crds
tm_file=m68k/crds.h
@@ -1769,7 +1753,6 @@ m68k-crds-unos*)
;;
m68k-cbm-sysv4*) # Commodore variant of V.4.
tm_file=m68k/amix.h
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
xmake_file=m68k/x-amix
tmake_file=t-svr4
@@ -1808,7 +1791,6 @@ m68k-isi-bsd*)
extra_headers=math-68881.h
;;
m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG"
if test x$gas = xyes
then
@@ -1824,7 +1806,6 @@ m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
float_format=m68k
;;
m68k-hp-hpux*) # HP 9000 series 300
- xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG"
if test x$gas = xyes
then
@@ -1962,7 +1943,6 @@ m68k*-*-openbsd*)
use_collect2=yes
;;
m68k-*-sysv3*) # Motorola m68k's running system V.3
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h
@@ -1970,7 +1950,6 @@ m68k-*-sysv3*) # Motorola m68k's running system V.3
;;
m68k-*-sysv4*) # Motorola m68k's running system V.4
tm_file=m68k/m68kv4.h
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
@@ -2096,7 +2075,6 @@ m88k-*-openbsd*)
m88k-*-sysv3*)
tm_file=m88k/sysv3.h
extra_parts="crtbegin.o crtend.o"
- xmake_file=m88k/x-sysv3
if test x$gas = xyes
then
tmake_file=m88k/t-m88k-gas
@@ -2903,7 +2881,6 @@ sh-*-*)
;;
sparc-tti-*)
tm_file=sparc/pbd.h
- xm_file="xm-alloca.h ${xm_file}"
xm_defines=USG
;;
sparc64-wrs-vxworks*)
@@ -3013,7 +2990,7 @@ sparcv9-*-solaris2*)
else
tm_file=sparc/sol2-sld-64.h
fi
- xm_file="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
+ xm_file="sparc/xm-sysv4-64.h"
xm_defines="USG POSIX"
tmake_file="sparc/t-sol2 sparc/t-sol2-64"
if test x$gnu_ld = xyes; then
@@ -3039,7 +3016,7 @@ sparcv9-*-solaris2*)
fi
;;
sparc-hal-solaris2*)
- xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
+ xm_file="sparc/xm-sysv4.h"
xm_defines="USG POSIX"
tm_file="sparc/sol2.h sparc/hal.h"
tmake_file="sparc/t-halos sparc/t-sol2"
@@ -3067,7 +3044,7 @@ sparc-*-solaris2*)
else
tm_file=sparc/sol2-sld.h
fi
- xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
+ xm_file="sparc/xm-sysv4.h"
xm_defines="USG POSIX"
tmake_file=sparc/t-sol2
if test x$gnu_ld = xyes; then
@@ -3138,7 +3115,7 @@ sparc-*-sysv4*)
extra_parts="crtbegin.o crtend.o"
;;
sparc-*-vxsim*)
- xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
+ xm_file="sparc/xm-sysv4.h"
xm_defines="USG POSIX"
tm_file=sparc/vxsim.h
tmake_file=sparc/t-vxsparc