]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/alloca.c
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
authorZack Weinberg <zack@gcc.gnu.org>
Tue, 6 Mar 2001 09:52:35 +0000 (09:52 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 6 Mar 2001 09:52:35 +0000 (09:52 +0000)
commitb548dffbda0dcd8ecd29dc91292c48fa40cd98aa
tree7e22f9fda0da4355d8a7de6e9143a24ad9ac4db4
parent89b3de05baddfeec0747cc819dfb6a75363aebdc
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.

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.

From-SVN: r40259
99 files changed:
gcc/Makefile.in
gcc/aclocal.m4
gcc/build-make
gcc/config.gcc
gcc/config.in
gcc/config/alpha/xm-alpha.h
gcc/config/alpha/xm-vms.h
gcc/config/arc/xm-arc.h
gcc/config/arm/xm-arm.h
gcc/config/clipper/x-clix [deleted file]
gcc/config/d30v/xm-d30v.h
gcc/config/dsp16xx/xm-dsp16xx.h
gcc/config/h8300/xm-h8300.h
gcc/config/i370/x-oe
gcc/config/i370/xm-linux.h
gcc/config/i386/x-aix
gcc/config/i386/x-beos
gcc/config/i386/x-ncr3000
gcc/config/i386/x-sco5
gcc/config/i386/xm-beos.h
gcc/config/i386/xm-dgux.h
gcc/config/i386/xm-sysv4.h [deleted file]
gcc/config/i860/x-fx2800 [deleted file]
gcc/config/i860/x-sysv3 [deleted file]
gcc/config/i860/x-sysv4
gcc/config/i960/xm-i960.h
gcc/config/m32r/xm-m32r.h
gcc/config/m68k/x-crds
gcc/config/m68k/x-dpx2
gcc/config/m68k/x-hp320
gcc/config/m68k/x-hp320g
gcc/config/m68k/x-mot3300
gcc/config/m68k/x-mot3300-gas
gcc/config/m68k/xm-amix.h
gcc/config/m68k/xm-hp320.h
gcc/config/m68k/xm-m68kv.h
gcc/config/m68k/xm-mot3300.h
gcc/config/m88k/x-dolph
gcc/config/m88k/x-sysv3 [deleted file]
gcc/config/m88k/x-sysv4
gcc/config/m88k/x-tekXD88
gcc/config/m88k/xm-m88k.h
gcc/config/mcore/xm-mcore.h
gcc/config/mips/x-iris
gcc/config/mips/x-iris3
gcc/config/mips/x-sni-svr4
gcc/config/mips/x-sysv
gcc/config/mips/xm-iris6.h
gcc/config/mips/xm-mips.h
gcc/config/mips/xm-nws3250v4.h
gcc/config/pa/x-pa-hpux
gcc/config/pa/x-pa-mpeix
gcc/config/pa/xm-pa.h
gcc/config/pa/xm-pa64hpux.h
gcc/config/pa/xm-pahpux.h
gcc/config/pa/xm-papro.h
gcc/config/romp/xm-romp.h
gcc/config/rs6000/x-aix31
gcc/config/rs6000/x-aix41
gcc/config/rs6000/x-beos
gcc/config/rs6000/x-lynx
gcc/config/rs6000/x-mach
gcc/config/rs6000/x-rs6000
gcc/config/rs6000/x-sysv4
gcc/config/rs6000/xm-beos.h
gcc/config/rs6000/xm-rs6000.h
gcc/config/rs6000/xm-sysv4.h
gcc/config/sh/xm-sh.h
gcc/config/sparc/x-sysv4
gcc/config/sparc/xm-linux.h
gcc/config/sparc/xm-pbd.h
gcc/config/sparc/xm-sol2.h [deleted file]
gcc/config/sparc/xm-sparc.h
gcc/config/vax/xm-vms.h
gcc/config/we32k/x-we32k [deleted file]
gcc/config/x-interix
gcc/config/x-svr4
gcc/config/xm-alloca.h [deleted file]
gcc/config/xm-interix.h
gcc/config/xm-openbsd.h
gcc/configure
gcc/genattr.c
gcc/genattrtab.c
gcc/genextract.c
gcc/genoutput.c
gcc/genrecog.c
gcc/rtl.c
gcc/system.h
include/libiberty.h
libiberty/Makefile.in
libiberty/aclocal.m4
libiberty/alloca-conf.h [deleted file]
libiberty/alloca.c
libiberty/argv.c
libiberty/config.in
libiberty/config.table
libiberty/config/mh-beos [deleted file]
libiberty/configure
libiberty/configure.in