aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog22
-rw-r--r--src/m/7300.h10
-rw-r--r--src/m/acorn.h19
-rw-r--r--src/m/alliant-2800.h12
-rw-r--r--src/m/alliant.h17
-rw-r--r--src/m/alpha.h11
-rw-r--r--src/m/altos.h11
-rw-r--r--src/m/amdahl.h15
-rw-r--r--src/m/apollo.h6
-rw-r--r--src/m/arm.h8
-rw-r--r--src/m/att3b.h14
-rw-r--r--src/m/aviion.h11
-rw-r--r--src/m/celerity.h6
-rw-r--r--src/m/clipper.h11
-rw-r--r--src/m/cnvrgnt.h16
-rw-r--r--src/m/convex.h12
-rw-r--r--src/m/cydra5.h15
-rw-r--r--src/m/delta.h13
-rw-r--r--src/m/delta88k.h21
-rw-r--r--src/m/dpx2.h18
-rw-r--r--src/m/elxsi.h12
-rw-r--r--src/m/gec63.h3
-rw-r--r--src/m/gould.h12
-rw-r--r--src/m/hp800.h16
-rw-r--r--src/m/hp9000s300.h8
-rw-r--r--src/m/i860.h12
-rw-r--r--src/m/ia64.h11
-rw-r--r--src/m/ibmps2-aix.h12
-rw-r--r--src/m/ibmrs6000.h15
-rw-r--r--src/m/ibmrt-aix.h12
-rw-r--r--src/m/ibmrt.h11
-rw-r--r--src/m/ibms390.h12
-rw-r--r--src/m/intel386.h16
-rw-r--r--src/m/iris4d.h17
-rw-r--r--src/m/irist.h14
-rw-r--r--src/m/isi-ov.h3
-rw-r--r--src/m/m68k.h3
-rw-r--r--src/m/macppc.h11
-rw-r--r--src/m/masscomp.h21
-rw-r--r--src/m/mg1.h12
-rw-r--r--src/m/mips-siemens.h15
-rw-r--r--src/m/mips.h15
-rw-r--r--src/m/news-r6.h9
-rw-r--r--src/m/news.h6
-rw-r--r--src/m/next.h4
-rw-r--r--src/m/nh3000.h12
-rw-r--r--src/m/nh4000.h12
-rw-r--r--src/m/ns32000.h16
-rw-r--r--src/m/orion.h7
-rw-r--r--src/m/pfa50.h3
-rw-r--r--src/m/plexus.h12
-rw-r--r--src/m/pmax.h5
-rw-r--r--src/m/powerpcle.h10
-rw-r--r--src/m/pyrmips.h1
-rw-r--r--src/m/sequent-ptx.h14
-rw-r--r--src/m/sequent.h12
-rw-r--r--src/m/sparc.h10
-rw-r--r--src/m/sr2k.h14
-rw-r--r--src/m/symmetry.h12
-rw-r--r--src/m/tad68k.h10
-rw-r--r--src/m/tahoe.h6
-rw-r--r--src/m/targon31.h12
-rw-r--r--src/m/tek4300.h7
-rw-r--r--src/m/tekxd88.h13
-rw-r--r--src/m/template.h12
-rw-r--r--src/m/tower32.h12
-rw-r--r--src/m/tower32v3.h13
-rw-r--r--src/m/ustation.h17
-rw-r--r--src/m/vax.h11
-rw-r--r--src/m/wicat.h14
-rw-r--r--src/m/windowsnt.h12
-rw-r--r--src/m/xps100.h13
-rw-r--r--src/s/aix3-2.h1
-rw-r--r--src/s/aix4-2.h6
-rw-r--r--src/s/irix4-0.h1
-rw-r--r--src/s/irix5-0.h5
-rw-r--r--src/s/sco5.h5
-rw-r--r--src/s/unixware.h5
78 files changed, 94 insertions, 771 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ca2d69767b..95d035da5c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,25 @@
+2002-04-15 Andreas Schwab <[email protected]>
+
+ * config.in: Regenerated using autoheader.
+
+ * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h,
+ m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h,
+ m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h,
+ m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h,
+ m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h,
+ m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h,
+ m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h,
+ m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h,
+ m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h
+ m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h,
+ m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h,
+ m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h,
+ m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h,
+ m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h,
+ m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h,
+ s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and
+ STACK_DIRECTION, now set by autoconf.
+
2002-04-14 Pavel Jan,Bm(Bk <[email protected]>
* dispnew.c (marginal_area_string): Sort arguments.
diff --git a/src/m/7300.h b/src/m/7300.h
index b090d8dd3e..8f4f70efe6 100644
--- a/src/m/7300.h
+++ b/src/m/7300.h
@@ -1,5 +1,5 @@
/* machine description file for AT&T UNIX PC model 7300
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
Modified for this machine by mtxinu!rtech!gonzo!daveb
This file is part of GNU Emacs.
@@ -66,15 +66,9 @@ Boston, MA 02111-1307, USA. */
/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
-#ifdef __GNUC__
-
-#define HAVE_ALLOCA
-
-#else
+#ifndef __GNUC__
#define SWITCH_ENUM_BUG
-#define C_ALLOCA
-#define STACK_DIRECTION -1
#endif
diff --git a/src/m/acorn.h b/src/m/acorn.h
index ad7cfeb4ba..38b148b3d2 100644
--- a/src/m/acorn.h
+++ b/src/m/acorn.h
@@ -1,5 +1,5 @@
/* Machine description file for Acorn RISCiX machines.
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -119,26 +119,12 @@ Boston, MA 02111-1307, USA. */
#define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;}
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
#ifdef __GNUC__
-/* Use builtin alloca. Also be sure that no other ones are tried out. */
-#define alloca __builtin_alloca
-#define HAVE_ALLOCA
-
/* Keep gcc/RISCiX happy - it uses __gccmain where other versions of
gcc use __main, because of a library routine name clash. */
#define __main __gccmain
-#else
-#define C_ALLOCA
-#undef HAVE_ALLOCA
#endif /* __GNUC__ */
/* Define NO_REMAP if memory segmentation makes it not work well
@@ -184,9 +170,6 @@ extern int _edata;
/* Use <dirent.h>. */
#define SYSV_SYSTEM_DIR
-/* For the portable alloca */
-#define STACK_DIRECTION -1
-
#ifdef NO_REMAP
/* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */
#define START_FILES pre-crt0.o CRT0_O
diff --git a/src/m/alliant-2800.h b/src/m/alliant-2800.h
index 5cf7e39343..243b786e71 100644
--- a/src/m/alliant-2800.h
+++ b/src/m/alliant-2800.h
@@ -1,5 +1,5 @@
/* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800.
- Copyright (C) 1990 Free Software Foundation, Inc.
+ Copyright (C) 1990, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -95,16 +95,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#undef C_ALLOCA
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/alliant.h b/src/m/alliant.h
index bf8909fb3e..86f104ceed 100644
--- a/src/m/alliant.h
+++ b/src/m/alliant.h
@@ -1,5 +1,5 @@
/* alliant.h Alliant machine running system version 2 or 3.
- Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1987, 2002 Free Software Foundation, Inc.
Note that for version 1 of the Alliant system
you should use alliant1.h instead of this file.
Use alliant4.h for version 4.
@@ -83,21 +83,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#undef C_ALLOCA
-#define HAVE_ALLOCA
-
-#ifdef ALLIANT_1
-#define C_ALLOCA
-#undef HAVE_ALLOCA
-#endif /* ALLIANT_1 */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/alpha.h b/src/m/alpha.h
index 82e6332132..e224bac75a 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -1,5 +1,5 @@
/* machine description file For the alpha chip.
- Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1997, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -80,15 +80,6 @@ NOTE-END
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
-
/* GNU malloc and the relocating allocator do not work together
with X. [Who wrote that?] */
diff --git a/src/m/altos.h b/src/m/altos.h
index 264d65745d..a20f89ac90 100644
--- a/src/m/altos.h
+++ b/src/m/altos.h
@@ -1,5 +1,5 @@
/* altos machine description file Altos 3068 Unix System V Release 2
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -36,18 +36,9 @@ Boston, MA 02111-1307, USA. */
#define LIB_STANDARD -lc
-#ifdef __GNUC__
-#define alloca __builtin_alloca
-#define HAVE_ALLOCA
-#else
-#define C_ALLOCA /* we have -lPW and alloca but it's broken!
- <vsedev!ron> */
-#endif
-
#define SWITCH_ENUM_BUG
#define NO_REMAP
-#define STACK_DIRECTION -1
#undef TERMINFO
diff --git a/src/m/amdahl.h b/src/m/amdahl.h
index 9b4bb7481a..b0a35395d9 100644
--- a/src/m/amdahl.h
+++ b/src/m/amdahl.h
@@ -1,5 +1,5 @@
/* amdahl machine description file
- Copyright (C) 1987, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -90,16 +90,6 @@ compiler is so brain damaged that it is not even worth trying to use it.
/* #define VIRT_ADDR_VARIES*/
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/*#define HAVE_ALLOCA */
-
#ifdef HAVE_ALLOCA
#define LIB_STANDARD -lPW -lc
#endif
@@ -146,8 +136,5 @@ extern int sign_extend_temp;
#define SEGSIZ 0x10000 /* Should this not be defined elsewhere ? */
#define SEGMENT_MASK (SEGSIZ - 1)
-/* Tell alloca.c which direction stack grows. */
-#define STACK_DIRECTION -1
-
/* Compensate for error in signal.h. */
#define NSIG_MINIMUM 20
diff --git a/src/m/apollo.h b/src/m/apollo.h
index f8424be88b..2808e58036 100644
--- a/src/m/apollo.h
+++ b/src/m/apollo.h
@@ -1,5 +1,5 @@
/* machine description file for Apollo machine.
- Copyright (C) 1985, 1986, 1994, Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1994, 2002, Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -52,10 +52,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define HAVE_ALLOCA because we use the system's version of alloca. */
-
-#define HAVE_ALLOCA
-
/* Prevent -lg from being used for debugging. Not needed. */
#define LIBS_DEBUG
diff --git a/src/m/arm.h b/src/m/arm.h
index 3711bdd740..ad22303eee 100644
--- a/src/m/arm.h
+++ b/src/m/arm.h
@@ -1,5 +1,5 @@
/* Machine description file for ARM-based non-RISCiX machines.
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -51,13 +51,7 @@ Boston, MA 02111-1307, USA. */
/* Use builtin alloca. Also be sure that no other ones are tried out. */
#define alloca __builtin_alloca
-#define HAVE_ALLOCA
-#else
-#define C_ALLOCA
-#undef HAVE_ALLOCA
#endif /* __GNUC__ */
#define NO_REMAP
-
-#define STACK_DIRECTION -1
diff --git a/src/m/att3b.h b/src/m/att3b.h
index 394f3db959..4d9aab7e6b 100644
--- a/src/m/att3b.h
+++ b/src/m/att3b.h
@@ -1,5 +1,5 @@
/* Machine-dependent configuration for GNU Emacs for AT&T 3b machines.
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
Modified by David Robinson ([email protected]) 6/6/86
@@ -78,17 +78,9 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
/* SysV has alloca in the PW library */
#define LIB_STANDARD -lPW -lc
-#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
@@ -136,10 +128,6 @@ extern int sign_extend_temp;
#define TEXT_START 0
-
-/* For alloca.c (not actually used, since HAVE_ALLOCA) */
-#define STACK_DIRECTION 1
-
/* (short) negative-int doesn't sign-extend correctly */
#define SHORT_CAST_BUG
diff --git a/src/m/aviion.h b/src/m/aviion.h
index 62802d7a61..c86eb85d02 100644
--- a/src/m/aviion.h
+++ b/src/m/aviion.h
@@ -1,5 +1,5 @@
/* machine description file for Data General AViiON.
- Copyright (C) 1985, 1986, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1991, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -86,15 +86,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
#define alloca(x) __builtin_alloca(x)
/* Define NO_REMAP if memory segmentation makes it not work well
diff --git a/src/m/celerity.h b/src/m/celerity.h
index 6e378e84fc..3ec5e99c1e 100644
--- a/src/m/celerity.h
+++ b/src/m/celerity.h
@@ -1,5 +1,5 @@
/* machine description file for Celerity.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -52,9 +52,5 @@ Boston, MA 02111-1307, USA. */
#define LD_SWITCH_MACHINE -k100000
-/* alloca is provided by the system. */
-
-#define HAVE_ALLOCA
-
/* (short) negative-int doesn't sign-extend correctly */
#define SHORT_CAST_BUG
diff --git a/src/m/clipper.h b/src/m/clipper.h
index 7dc5e84b07..8391d7237e 100644
--- a/src/m/clipper.h
+++ b/src/m/clipper.h
@@ -1,5 +1,5 @@
/* machine description file for clipper
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -80,15 +80,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/cnvrgnt.h b/src/m/cnvrgnt.h
index 855055ce33..5f76da4bb2 100644
--- a/src/m/cnvrgnt.h
+++ b/src/m/cnvrgnt.h
@@ -1,5 +1,5 @@
/* machine description file for convergent S series.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ Copyright (C) 1989, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -76,16 +76,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-#undef HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
@@ -97,10 +87,6 @@ Boston, MA 02111-1307, USA. */
#define SWITCH_ENUM_BUG
-/* grows towards lower addresses. */
-
-#define STACK_DIRECTION -1
-
/* some errno.h's don't actually allocate the variable itself.
Cause crt0.c to define errno. */
diff --git a/src/m/convex.h b/src/m/convex.h
index a0fbd6223d..44a86bf5d8 100644
--- a/src/m/convex.h
+++ b/src/m/convex.h
@@ -1,5 +1,5 @@
/* machine description file for Convex (all models).
- Copyright (C) 1987, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -85,16 +85,6 @@ Boston, MA 02111-1307, USA. */
/*#define VIRT_ADDR_VARIES*/
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Must use the system's termcap. It does special things. */
#define LIBS_TERMCAP -ltermcap
diff --git a/src/m/cydra5.h b/src/m/cydra5.h
index 5c8fe36388..344e613930 100644
--- a/src/m/cydra5.h
+++ b/src/m/cydra5.h
@@ -1,5 +1,5 @@
/* machine description file for Cydrome's CYDRA 5 mini super computer
- Copyright (C) 1988, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -79,16 +79,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-#undef HAVE_ALLOCA
-
/* The data segment in this machine always starts at address 0x10000000.
An address of data cannot be stored correctly in a Lisp object;
we always lose the high bits. We must tell XPNTR to add them back. */
@@ -105,9 +95,6 @@ Boston, MA 02111-1307, USA. */
#define BROKEN_FIONREAD /* We son't even have it */
#define LIBS_MACHINE -lsocket -lnsl
-/* Stack grows downward in memory. */
-#define STACK_DIRECTION -1
-
/* The data section in a coff file must be aligned in the file. */
#define DATA_SECTION_ALIGNMENT 0xFFF
diff --git a/src/m/delta.h b/src/m/delta.h
index 8e8498bafd..a879580d02 100644
--- a/src/m/delta.h
+++ b/src/m/delta.h
@@ -1,7 +1,7 @@
/* Machine description file for the Motorola Delta.
Tested on mvme147 board using R3V7 without X. Tested with gcc.
Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc.
- Copyright (C) 1986, 1993, 1994, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1993, 1994, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -84,16 +84,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-/* #define HAVE_ALLOCA */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
@@ -163,7 +153,6 @@ Boston, MA 02111-1307, USA. */
#ifdef __GNUC__
/* Use builtin alloca. Also be sure that no other ones are tried out. */
# define alloca __builtin_alloca
-# define HAVE_ALLOCA
/* Union lisp objects do not yet work as of 19.15. */
/* # undef NO_UNION_TYPE */
diff --git a/src/m/delta88k.h b/src/m/delta88k.h
index 10bb6c911a..08eb98e1ea 100644
--- a/src/m/delta88k.h
+++ b/src/m/delta88k.h
@@ -1,5 +1,5 @@
/* Machine description file for Motorola System V/88 machines
- Copyright (C) 1985 Free Software Foundation, Inc.
+ Copyright (C) 1985, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -93,25 +93,6 @@ Boston, MA 02111-1307, USA. */
#define NO_REMAP
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* BEM: Distributed asm alloca doesn't work. Don't know about libPW.a.
- C ALLOCA is safe and fast enough for now. */
-
-#ifdef __GNUC__
-#define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */
-#undef C_ALLOCA
-#else /* not __GNUC__ */
-#undef HAVE_ALLOCA
-#define C_ALLOCA /* Use the alloca() supplied in alloca.c. */
-#define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */
-#endif /* __GNUC__ */
-
/* Motorola SysV has PTYs. Not all usg3-5 systems do, so this is defined
here. */
diff --git a/src/m/dpx2.h b/src/m/dpx2.h
index cb88daf743..eee18512e6 100644
--- a/src/m/dpx2.h
+++ b/src/m/dpx2.h
@@ -1,5 +1,5 @@
/* machine description for Bull DPX/2 range
- Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -90,16 +90,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES /**/
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/* #define HAVE_ALLOCA /**/
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
@@ -190,12 +180,6 @@ Boston, MA 02111-1307, USA. */
#define TEXT_START 0
-/*
- * Define the direction of stack growth.
- */
-
-#define STACK_DIRECTION -1
-
/* we have termios */
#undef HAVE_TERMIO
#define HAVE_TERMIOS
diff --git a/src/m/elxsi.h b/src/m/elxsi.h
index dc27d25bad..b3003000dc 100644
--- a/src/m/elxsi.h
+++ b/src/m/elxsi.h
@@ -1,5 +1,5 @@
/* machine description file for Elxsi machine (running enix).
- Copyright (C) 1986, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1992, 2002 Free Software Foundation, Inc.
Adapted by John Salmon
This file is part of GNU Emacs.
@@ -96,16 +96,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/*#define HAVE_ALLOCA */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/gec63.h b/src/m/gec63.h
index c0ca428091..0a5877bb09 100644
--- a/src/m/gec63.h
+++ b/src/m/gec63.h
@@ -1,5 +1,5 @@
/* machine description file for gec63
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -38,7 +38,6 @@ Boston, MA 02111-1307, USA. */
/* GEC63 has alloca in the PW/ux63 library. */
#define LIB_STANDARD -lPW -lc
-#define HAVE_ALLOCA
/* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
since there is no /dev/kmem */
diff --git a/src/m/gould.h b/src/m/gould.h
index e208b9ea99..c2e469db38 100644
--- a/src/m/gould.h
+++ b/src/m/gould.h
@@ -5,7 +5,7 @@
* RELEASE2_1 in config.h. This may also be necessary with un-updated
* official releases of 2.1
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -110,16 +110,6 @@ NOTE-END */
#define VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-#define STACK_DIRECTION -1 /* grows towards lower addresses on Gould UTX/32 */
-
/* No need to extend the user stack. */
/* If this is a 2.1 system, COFF will be predefined by cpp. If it's */
diff --git a/src/m/hp800.h b/src/m/hp800.h
index 26ce547961..d20abeb24e 100644
--- a/src/m/hp800.h
+++ b/src/m/hp800.h
@@ -1,5 +1,5 @@
/* machine description file for hp9000 series 800 machines.
- Copyright (C) 1987 Free Software Foundation, Inc.
+ Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -102,8 +102,6 @@ Boston, MA 02111-1307, USA. */
#undef CANNOT_DUMP
-#define STACK_DIRECTION 1
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
@@ -117,8 +115,6 @@ Boston, MA 02111-1307, USA. */
#ifdef GNU_LINUX
-#define HAVE_ALLOCA
-
/* Data type of load average, as read out of kmem. */
#define LOAD_AVE_TYPE long
@@ -141,16 +137,6 @@ Boston, MA 02111-1307, USA. */
numerically. */
#define VIRT_ADDR_VARIES
-
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/* #define HAVE_ALLOCA */
/* the data segment on this machine always starts at address 0x40000000. */
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h
index e4db86a959..725aa0d9ee 100644
--- a/src/m/hp9000s300.h
+++ b/src/m/hp9000s300.h
@@ -1,5 +1,5 @@
/* machine description file for hp9000 series 200 or 300 on either HPUX or BSD.
- Copyright (C) 1985 Free Software Foundation, Inc.
+ Copyright (C) 1985, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -120,8 +120,6 @@ NOTE-END */
#define CRT0_DUMMIES bogus_a6,
-#define HAVE_ALLOCA
-
#ifndef __GNUC__
#define LIBS_DEBUG /* don't have -lg that works */
#define C_DEBUG_SWITCH /* don't support -g */
@@ -150,10 +148,6 @@ NOTE-END */
#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
-#ifdef __GNUC__
-#define HAVE_ALLOCA
-#endif
-
/* This library is needed with -g, on the 200/300 only. */
#if !defined(__GNUC__) || defined(__HPUX_ASM__)
diff --git a/src/m/i860.h b/src/m/i860.h
index f1ce0c04fb..b65b6fdd27 100644
--- a/src/m/i860.h
+++ b/src/m/i860.h
@@ -1,5 +1,5 @@
/* machine description file for i860.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/* #define HAVE_ALLOCA */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/ia64.h b/src/m/ia64.h
index f77d0a89ae..dff99e7349 100644
--- a/src/m/ia64.h
+++ b/src/m/ia64.h
@@ -1,5 +1,5 @@
/* machine description file for the IA-64 architecture.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002 Free Software Foundation, Inc.
Contributed by David Mosberger <[email protected]>
This file is part of GNU Emacs.
@@ -87,15 +87,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
-
/* Define the following if GNU malloc and the relocating allocator do
not work together with X. */
diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h
index b6b61715e0..36dc0e7cbd 100644
--- a/src/m/ibmps2-aix.h
+++ b/src/m/ibmps2-aix.h
@@ -1,5 +1,5 @@
/* machine description file for ibm ps/2 aix386.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ Copyright (C) 1989, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -187,15 +187,7 @@ so disable it for them. */
/* Here override various assumptions in ymakefile */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
#ifdef __GNUC__
-#define HAVE_ALLOCA
#define alloca(n) __builtin_alloca(n)
#if __GNUC__ < 2
#define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc
@@ -204,8 +196,6 @@ so disable it for them. */
/* tranle says that -fstrength-reduce does not help. */
#define C_DEBUG_SWITCH
#else
-#define C_ALLOCA
-#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
#define LIBS_MACHINE -lbsd -lrts
#endif
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index 8500ee9a7a..51f809c45f 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -1,5 +1,5 @@
/* R2 AIX machine/system dependent defines
- Copyright (C) 1988 Free Software Foundation, Inc.
+ Copyright (C) 1988, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -101,19 +101,6 @@ Boston, MA 02111-1307, USA. */
#undef ADDR_CORRECT
#define ADDR_CORRECT(x) ((int)(x))
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* Note: aix3-2.h defines HAVE_ALLOCA; aix3-1.h doesn't. */
-#ifndef HAVE_ALLOCA
-#define C_ALLOCA
-#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
-#endif
-
/* Specify the font for X to use.
This used to be Rom14.500; that's nice on the X server shipped with
the RS/6000, but it's not available on other servers. */
diff --git a/src/m/ibmrt-aix.h b/src/m/ibmrt-aix.h
index 5ff553636b..0ae8941007 100644
--- a/src/m/ibmrt-aix.h
+++ b/src/m/ibmrt-aix.h
@@ -1,5 +1,5 @@
/* RTPC AIX machine/system dependent defines
- Copyright (C) 1988, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -86,16 +86,6 @@ Boston, MA 02111-1307, USA. */
#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
-
/* AIX has PTYs, so define here, along with macros needed to make them work. */
#define HAVE_PTYS
diff --git a/src/m/ibmrt.h b/src/m/ibmrt.h
index e9404d125c..e6dfa17117 100644
--- a/src/m/ibmrt.h
+++ b/src/m/ibmrt.h
@@ -1,5 +1,5 @@
/* RTPC machine dependent defines
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -79,15 +79,6 @@ Boston, MA 02111-1307, USA. */
numerically. */
#undef VIRT_ADDR_VARIES
-
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
/* The data segment in this machine starts at a fixed address.
An address of data cannot be stored correctly in a Lisp object;
diff --git a/src/m/ibms390.h b/src/m/ibms390.h
index ce4e6bcef7..019db37bd8 100644
--- a/src/m/ibms390.h
+++ b/src/m/ibms390.h
@@ -1,5 +1,5 @@
/* machine description file template.
- Copyright (C) 1985, 1986, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */
#define VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 6ac58b824d..26be9d6fd9 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -1,5 +1,5 @@
/* Machine description file for intel 386.
- Copyright (C) 1987 Free Software Foundation, Inc.
+ Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -166,8 +166,6 @@ NOTE-END */
#define NO_REMAP
-#define STACK_DIRECTION -1
-
/* Since cannot purify, use standard Xenix 386 startup code. */
#define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o
@@ -192,25 +190,14 @@ NOTE-END */
#endif /* not USG5_4 */
#endif /* LIB_STANDARD */
-/* Paul Abrahams <[email protected]> says that
- Unixware does not have alloca when using cc. */
-#if ! (defined (USG5_4) && ! defined (SOLARIS2) && ! defined (__GNUC__))
-#define HAVE_ALLOCA
-#endif
-
#define NO_REMAP
#define TEXT_START 0
#endif /* USG */
#endif /* not XENIX */
-#ifdef BSD_SYSTEM
-#define HAVE_ALLOCA
-#endif /* BSD_SYSTEM */
-
/* If compiling with GCC, let GCC implement alloca. */
#if defined(__GNUC__) && !defined(alloca)
#define alloca(n) __builtin_alloca(n)
-#define HAVE_ALLOCA
#endif
#ifdef USG5_4
@@ -225,7 +212,6 @@ NOTE-END */
#define VIRT_ADDR_VARIES
#define DATA_END get_data_end ()
#define DATA_START get_data_start ()
-#define HAVE_ALLOCA
#define NO_ARG_ARRAY
#endif
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index bfbe6a2f13..457f359463 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -1,5 +1,5 @@
/* machine description file for Iris-4D machines. Use with s/irix*.h.
- Copyright (C) 1987 Free Software Foundation, Inc.
+ Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -91,16 +91,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */ /* [email protected] says no need. */
-/* #define HAVE_ALLOCA */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
@@ -168,11 +158,6 @@ Boston, MA 02111-1307, USA. */
#undef FIRST_PTY_LETTER
#define FIRST_PTY_LETTER 'q'
-
-/* Define STACK_DIRECTION for alloca.c */
-
-#undef STACK_DIRECTION
-#define STACK_DIRECTION -1
#ifndef _LP64
/* The standard definitions of these macros would work ok,
diff --git a/src/m/irist.h b/src/m/irist.h
index 9de7215545..78111b6a3e 100644
--- a/src/m/irist.h
+++ b/src/m/irist.h
@@ -1,6 +1,6 @@
/* machine description file for Silicon Graphics Iris 2500 Turbos;
also possibly for non-turbo Irises with system release 2.5.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -49,7 +49,7 @@ NOTE-END */
/* Eric - May 4, 1987 */
report_file_error ("Worked just find\n", Qnil);
- Without any sort of debugger that works on emacs (I know... but I don't have
+ Without any sort of debugger that works on emacs (I know... but I dont have
*time* right now to start with gdb), it was quite time consuming to track
it down to this.
@@ -118,16 +118,6 @@ NOTE-END */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/isi-ov.h b/src/m/isi-ov.h
index beb3fdd122..768b40051f 100644
--- a/src/m/isi-ov.h
+++ b/src/m/isi-ov.h
@@ -1,5 +1,5 @@
/* machine description file for ISI 68000's
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -83,7 +83,6 @@ NOTE-END */
/* A few changes for the newer systems. */
#ifdef BSD4_3
-#define HAVE_ALLOCA
/* The following line affects crt0.c. */
#undef m68k
diff --git a/src/m/m68k.h b/src/m/m68k.h
index d2a1ebff74..54d783eba5 100644
--- a/src/m/m68k.h
+++ b/src/m/m68k.h
@@ -1,5 +1,5 @@
/* Machine description file for generic Motorola 68k.
- Copyright (C) 1985, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1995, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -85,5 +85,4 @@ Boston, MA 02111-1307, USA. */
/* If compiling with GCC, let GCC implement alloca. */
#if defined(__GNUC__) && !defined(alloca)
#define alloca(n) __builtin_alloca(n)
-#define HAVE_ALLOCA
#endif
diff --git a/src/m/macppc.h b/src/m/macppc.h
index 860371d34e..6f8f841a46 100644
--- a/src/m/macppc.h
+++ b/src/m/macppc.h
@@ -1,5 +1,5 @@
/* machine description file For the powerpc Macintosh.
- Copyright (C) 1994, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -51,15 +51,6 @@ Boston, MA 02111-1307, USA. */
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
-
/* Some really obscure 4.2-based systems (like Sequent DYNIX)
* do not support asynchronous I/O (using SIGIO) on sockets,
* even though it works fine on tty's. If you have one of
diff --git a/src/m/masscomp.h b/src/m/masscomp.h
index 5f9aa6ae50..540fa3e0a8 100644
--- a/src/m/masscomp.h
+++ b/src/m/masscomp.h
@@ -1,5 +1,5 @@
/* machine description file for Masscomp 5000 series running RTU, ucb universe.
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,25 +81,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* On return from a subroutine, the 68020 compiler restores old contents of
- register variables relative to sp, so alloca() screws up such routines.
- The following definitions should work on all Masscomps. On the MC-5500
- (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */
-#ifdef mc500
-#undef C_ALLOCA
-#define HAVE_ALLOCA
-#else
-#define C_ALLOCA
-#undef HAVE_ALLOCA
-#endif
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/mg1.h b/src/m/mg1.h
index 13e4dbeb8b..7d37959e44 100644
--- a/src/m/mg1.h
+++ b/src/m/mg1.h
@@ -1,5 +1,5 @@
/* machine description file for Whitechapel Computer Works MG1 (ns16000 based).
- Copyright (C) 1985 Free Software Foundation, Inc.
+ Copyright (C) 1985, 2002 Free Software Foundation, Inc.
MG-1 version by L.M.McLoughlin
This file is part of GNU Emacs.
@@ -92,16 +92,6 @@ NOTE-END */
/* hmmmm... not sure. copied sequent.h */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-/* hmmmm... again not sure. so copied sequent.h again! */
-#undef C_ALLOCA
-#undef HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h
index c0bfd7a61f..a2d20ba618 100644
--- a/src/m/mips-siemens.h
+++ b/src/m/mips-siemens.h
@@ -1,5 +1,5 @@
/* m- file for Mips machines.
- Copyright (C) 1987, 1992, 1993, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1992, 1993, 1995, 2002 Free Software Foundation, Inc.
This file contains some changes for our SVR4 based SINIX-Mips 5.4.
I hope this is helpful to port the emacs to our RM?00 series and
@@ -104,19 +104,6 @@ NOTE-END */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#ifdef __GNUC__
-#define HAVE_ALLOCA
-#else
-#define C_ALLOCA
-#endif
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/mips.h b/src/m/mips.h
index cd16e8f394..bed3694431 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -1,5 +1,5 @@
/* m- file for Mips machines.
- Copyright (C) 1987, 1992, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1992, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -99,19 +99,6 @@ NOTE-END */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#ifdef __GNUC__
-#define HAVE_ALLOCA
-#else
-#define C_ALLOCA
-#endif
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/news-r6.h b/src/m/news-r6.h
index 9279e6aec6..7018dc9571 100644
--- a/src/m/news-r6.h
+++ b/src/m/news-r6.h
@@ -19,15 +19,6 @@
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/news.h b/src/m/news.h
index 8b4c5a8275..0fdeed10f4 100644
--- a/src/m/news.h
+++ b/src/m/news.h
@@ -1,5 +1,5 @@
/* machine description file for Sony's NEWS workstations, NEWS-OS 3.0.
- Copyright (C) 1985, 1986, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1989, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -48,10 +48,6 @@ NOTE-END */
#define NO_UNION_TYPE
-/* The News machine has alloca. */
-
-#define HAVE_ALLOCA
-
/* Data type of load average, as read out of kmem. */
#define LOAD_AVE_TYPE double
diff --git a/src/m/next.h b/src/m/next.h
index 0c3a2466fa..b2ceb49f43 100644
--- a/src/m/next.h
+++ b/src/m/next.h
@@ -1,5 +1,5 @@
/* Configuration file for the NeXT machine.
- Copyright (C) 1990 Free Software Foundation, Inc.
+ Copyright (C) 1990, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -65,8 +65,6 @@ Boston, MA 02111-1307, USA. */
#define SEGSIZ 0x20000
#define SEGMENT_MASK (SEGSIZ - 1)
-#define HAVE_ALLOCA
-
#define SYSTEM_MALLOC
#define HAVE_UNIX_DOMAIN
diff --git a/src/m/nh3000.h b/src/m/nh3000.h
index c124e1bf6c..eafb560e47 100644
--- a/src/m/nh3000.h
+++ b/src/m/nh3000.h
@@ -1,7 +1,7 @@
/* machine description for Harris Night Hawk Series 1200 and Series 3000
MC68030-based systems (FPP on these is custom). These systems are
also known as "ecx" and "gcx".
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -83,16 +83,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/nh4000.h b/src/m/nh4000.h
index df8c80901b..b5db2802cf 100644
--- a/src/m/nh4000.h
+++ b/src/m/nh4000.h
@@ -1,6 +1,6 @@
/* machine description for Harris NightHawk 88k based machines
(includes nh4000 and nh5000 machines).
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -82,16 +82,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/ns32000.h b/src/m/ns32000.h
index 345d4174a7..2bacb5702d 100644
--- a/src/m/ns32000.h
+++ b/src/m/ns32000.h
@@ -1,5 +1,5 @@
/* machine description file for National Semiconductor 32000, running Genix.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -80,18 +80,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#if defined (__NetBSD__) || defined (__OpenBSD__)
-#define HAVE_ALLOCA
-#endif
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
@@ -101,8 +89,6 @@ Boston, MA 02111-1307, USA. */
#define TEXT_START 0
-#define STACK_DIRECTION -1
-
#if !defined (__NetBSD__) && !defined (__OpenBSD__)
#define EXEC_MAGIC 0410
diff --git a/src/m/orion.h b/src/m/orion.h
index bfb85cdb6f..c2b83bc190 100644
--- a/src/m/orion.h
+++ b/src/m/orion.h
@@ -1,5 +1,5 @@
/* machine description file for HLH Orion.
- Copyright (C) 1985 Free Software Foundation, Inc.
+ Copyright (C) 1985, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -64,8 +64,3 @@ Boston, MA 02111-1307, USA. */
#define FSCALE 1.0
#endif
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
-
-/* It is necessary to use the portable imitation of alloca,
- since a true stack-allocating one is impossible. */
-
-#define C_ALLOCA
diff --git a/src/m/pfa50.h b/src/m/pfa50.h
index 5b8d47aef5..457ea06ff1 100644
--- a/src/m/pfa50.h
+++ b/src/m/pfa50.h
@@ -1,5 +1,5 @@
/* Machine description file for PFU A-series.
- Copyright (C) 1988, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -75,7 +75,6 @@ Boston, MA 02111-1307, USA. */
/* SX/A has alloca in the PW library. */
#define LIB_STANDARD -lPW -lc
-#define HAVE_ALLOCA
/* SX/A uses terminfo and lib/curses */
diff --git a/src/m/plexus.h b/src/m/plexus.h
index b42c93c285..9f8690127e 100644
--- a/src/m/plexus.h
+++ b/src/m/plexus.h
@@ -1,5 +1,5 @@
/* machine description file for the Plexus running System V.2.
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#undef C_ALLOCA
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/pmax.h b/src/m/pmax.h
index 7e9e977b31..c04bfae633 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -61,11 +61,6 @@ NOTE-END */
#define BROKEN_O_NONBLOCK
#endif
-#if defined (OSF1) || defined (MACH)
-#undef C_ALLOCA
-#define HAVE_ALLOCA
-#endif
-
#ifndef __NetBSD__
/* [email protected] says this makes Emacs work with DECnet. */
#ifdef HAVE_LIBDNET
diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h
index 5511548ee0..f5f29fe3a0 100644
--- a/src/m/powerpcle.h
+++ b/src/m/powerpcle.h
@@ -1,5 +1,5 @@
/* machine description file for PowerPC.
- Copyright (C) 1987 Free Software Foundation, Inc.
+ Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -54,14 +54,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
#ifndef NOT_C_CODE
#if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */
#include <alloca.h>
diff --git a/src/m/pyrmips.h b/src/m/pyrmips.h
index 7887f6858d..1489ddaa66 100644
--- a/src/m/pyrmips.h
+++ b/src/m/pyrmips.h
@@ -4,6 +4,5 @@
#include "m-pyramid.h"
#define SYSTEM_MALLOC
-#define HAVE_ALLOCA
#define CANNOT_DUMP
diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h
index 112638dbbf..fdf977075c 100644
--- a/src/m/sequent-ptx.h
+++ b/src/m/sequent-ptx.h
@@ -1,5 +1,5 @@
/* machine description file for SEQUENT machines running DYNIX/ptx
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -84,18 +84,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#ifndef __GNUC__
-#define C_ALLOCA
-#undef HAVE_ALLOCA
-#endif
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/sequent.h b/src/m/sequent.h
index 50b585bc75..2cd06b490d 100644
--- a/src/m/sequent.h
+++ b/src/m/sequent.h
@@ -1,5 +1,5 @@
/* machine description file for SEQUENT BALANCE machines
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -100,16 +100,6 @@ NOTE-END */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Name of file the to look in
for the kernel symbol table (for load average) */
diff --git a/src/m/sparc.h b/src/m/sparc.h
index 7b708b954b..5bd16a0b40 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -1,5 +1,5 @@
/* machine description file for Sun 4 SPARC.
- Copyright (C) 1987 Free Software Foundation, Inc.
+ Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -59,14 +59,6 @@ NOTE-END */
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define HAVE_ALLOCA
#ifndef NOT_C_CODE
#if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */
#include <alloca.h>
diff --git a/src/m/sr2k.h b/src/m/sr2k.h
index e735668679..7aed134837 100644
--- a/src/m/sr2k.h
+++ b/src/m/sr2k.h
@@ -1,5 +1,5 @@
/* machine description file for Hitachi SR2001/SR2201 machines.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -119,16 +119,6 @@ Boston, MA 02111-1307, USA. */
numerically. */
#define VIRT_ADDR_VARIES
-
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/* #define HAVE_ALLOCA */
/* the data segment on this machine always starts at address 0x40000000. */
@@ -137,8 +127,6 @@ Boston, MA 02111-1307, USA. */
#define DATA_START 0x40000000
#define TEXT_START 0x00000000
-#define STACK_DIRECTION 1
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/symmetry.h b/src/m/symmetry.h
index 2cbb820b2d..74ca6c09c2 100644
--- a/src/m/symmetry.h
+++ b/src/m/symmetry.h
@@ -1,5 +1,5 @@
/* machine description file for SEQUENT SYMMETRY machines
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -44,16 +44,6 @@ Boston, MA 02111-1307, USA. */
#define FSCALE 1000.0
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-/*#define HAVE_ALLOCA*/
-
/* Name of file the to look in
for the kernel symbol table (for load average) */
diff --git a/src/m/tad68k.h b/src/m/tad68k.h
index eddf1456a9..78b961d2c7 100644
--- a/src/m/tad68k.h
+++ b/src/m/tad68k.h
@@ -1,5 +1,5 @@
/* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -75,17 +75,9 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
/* SysV has alloca in the PW library */
#define LIB_STANDARD -lPW -lc
-#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
diff --git a/src/m/tahoe.h b/src/m/tahoe.h
index fdb89244db..5bef9a1a37 100644
--- a/src/m/tahoe.h
+++ b/src/m/tahoe.h
@@ -1,5 +1,5 @@
/* machine description file for tahoe.
- Copyright (C) 1985 Free Software Foundation, Inc.
+ Copyright (C) 1985, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -66,7 +66,3 @@ NOTE-END */
/* This triggers some stuff to avoid a compiler bug */
#define TAHOE_REGISTER_BUG
-
-/* System provides alloca. */
-
-#define HAVE_ALLOCA
diff --git a/src/m/targon31.h b/src/m/targon31.h
index 16f29cac10..86211a6e5a 100644
--- a/src/m/targon31.h
+++ b/src/m/targon31.h
@@ -1,5 +1,5 @@
/* targon31 machine description file
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -82,16 +82,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-/* #define HAVE_ALLOCA */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/tek4300.h b/src/m/tek4300.h
index 30ebbc7d36..5c88f6ef9b 100644
--- a/src/m/tek4300.h
+++ b/src/m/tek4300.h
@@ -1,5 +1,5 @@
/* machine description file for tek4300.
- Copyright (C) 1988 Free Software Foundation, Inc.
+ Copyright (C) 1988, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -64,11 +64,6 @@ Boston, MA 02111-1307, USA. */
#define NO_REMAP
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead. */
-
-#define C_ALLOCA
-
/* setjmp and longjmp can safely replace _setjmp and _longjmp, */
#define _longjmp longjmp
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h
index 6f67b509c5..c2551be478 100644
--- a/src/m/tekxd88.h
+++ b/src/m/tekxd88.h
@@ -1,7 +1,7 @@
/* Configuration file for the Tektronix XD88 running UTekV 3.2e,
contributed by Kaveh Ghazi ([email protected]) 1/15/93.
You probably need to use gnu make (version 3.63 or higher.)
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,20 +81,9 @@ Boston, MA 02111-1307, USA. */
code will not be sharable; but that's better than failing completely. */
#define NO_REMAP
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
#ifdef __GNUC__
# define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */
-# define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */
-# undef C_ALLOCA
#else /* not __GNUC__ */
-# undef HAVE_ALLOCA
-# define C_ALLOCA /* Use the alloca() supplied in alloca.c. */
-# define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */
# define C_OPTIMIZE_SWITCH -O
#endif /* __GNUC__ */
diff --git a/src/m/template.h b/src/m/template.h
index b6a31d2e18..7683cbfba6 100644
--- a/src/m/template.h
+++ b/src/m/template.h
@@ -1,5 +1,5 @@
/* machine description file template.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -79,16 +79,6 @@ Boston, MA 02111-1307, USA. */
#define VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-#define HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/tower32.h b/src/m/tower32.h
index 31ed5c0da5..9dbb0dc6b6 100644
--- a/src/m/tower32.h
+++ b/src/m/tower32.h
@@ -1,5 +1,5 @@
/* machine description file for the NCR Tower 32 running System V.2.
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -80,16 +80,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
-#define HAVE_ALLOCA
-
/* Change some things to avoid bugs in compiler */
#define SWITCH_ENUM_BUG 1
diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h
index d85d631b1b..c7406f3808 100644
--- a/src/m/tower32v3.h
+++ b/src/m/tower32v3.h
@@ -1,5 +1,5 @@
/* machine description file for the NCR Tower 32 running System V.3.
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,27 +81,16 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
#ifdef __GNUC__
-#define HAVE_ALLOCA
#define alloca __builtin_alloca
#define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer
#define LIB_STANDARD -lc /lib/crtn.o
#else
/* This section is correct if you do *not* change src/ymakefile so that
CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */
-#define HAVE_ALLOCA
#define C_DEBUG_SWITCH -g -O0
#define LIB_STANDARD -lc -lPW /lib/crtn.o
/* This section is correct if you do enable C_OPTIMIZE_SWITCH. */
-/* #define C_ALLOCA */
-/* #define STACK_DIRECTION -1 */
/* #define C_OPTIMIZE_SWITCH -O2 */
/* #define LIB_STANDARD -lc /lib/crtn.o */
#endif
diff --git a/src/m/ustation.h b/src/m/ustation.h
index 70a9945dd7..9e8c26a17d 100644
--- a/src/m/ustation.h
+++ b/src/m/ustation.h
@@ -1,5 +1,5 @@
/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30).
- Copyright (C) 1986, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -82,21 +82,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* On return from a subroutine, the 68020 compiler restores old contents of
- register variables relative to sp, so alloca() screws up such routines.
- The following definitions should work on all Masscomps. On the MC-5500
- (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */
-
-#define C_ALLOCA
-#undef HAVE_ALLOCA
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/vax.h b/src/m/vax.h
index 99d06d1c0d..86ca420f2e 100644
--- a/src/m/vax.h
+++ b/src/m/vax.h
@@ -1,5 +1,5 @@
/* machine description file for vax.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -100,7 +100,6 @@ NOTE-END */
#ifdef USG
#define LIB_STANDARD -lPW -lc
-#define HAVE_ALLOCA
/* There is some bug in unexec in for usg 5.2 on a vax
which nobody who runs such a system has yet tracked down. */
@@ -111,14 +110,6 @@ NOTE-END */
#define TEXT_START 0
#endif /* USG */
-#ifdef BSD_SYSTEM
-#define HAVE_ALLOCA
-#endif /* BSD_SYSTEM */
-
-#ifdef VMS
-#define C_ALLOCA
-#endif
-
#ifdef BSD4_2
#define HAVE_FTIME
#endif
diff --git a/src/m/wicat.h b/src/m/wicat.h
index 395ebe2e25..b361418c8d 100644
--- a/src/m/wicat.h
+++ b/src/m/wicat.h
@@ -1,5 +1,5 @@
/* machine description file for WICAT machines.
- Copyright (C) 1986 Free Software Foundation, Inc.
+ Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -80,18 +80,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* For the Wicat C compiler version 4.2, this can be removed
- and the alloca in alloca.s used. */
-#define C_ALLOCA
-#define STACK_DIRECTION -1 /* grows towards lower addresses on WICAT */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
diff --git a/src/m/windowsnt.h b/src/m/windowsnt.h
index 6420688925..5a3e16ddad 100644
--- a/src/m/windowsnt.h
+++ b/src/m/windowsnt.h
@@ -1,6 +1,6 @@
/* Machine description file for Windows NT.
- Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -87,16 +87,8 @@ Boston, MA 02111-1307, USA. */
/* Text does precede data space, but this is never a safe assumption. */
#define VIRT_ADDR_VARIES
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-/* #define C_ALLOCA */
+/* For alloca. */
#include <malloc.h>
-#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
diff --git a/src/m/xps100.h b/src/m/xps100.h
index e712d15403..499182d550 100644
--- a/src/m/xps100.h
+++ b/src/m/xps100.h
@@ -1,7 +1,7 @@
/* xps100.h for the Honeywell XPS100 running UNIX System V.2
Mark J. Hewitt ([email protected])
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -81,23 +81,12 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-/* #define HAVE_ALLOCA */
-
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
code will not be sharable; but that's better than failing completely. */
#define NO_REMAP
-#define STACK_DIRECTION -1
#define TERMINFO
#define SWITCH_ENUM_BUG
#define LIB_STANDARD -lc
diff --git a/src/s/aix3-2.h b/src/s/aix3-2.h
index 8563707476..f6d3db75b1 100644
--- a/src/s/aix3-2.h
+++ b/src/s/aix3-2.h
@@ -15,7 +15,6 @@
#define C_SWITCH_SYSTEM -ma -qmaxmem=4000
#endif
-#define HAVE_ALLOCA
/* Adrian Colley <[email protected]> says this is needed. */
#ifndef NOT_C_CODE
#ifndef AIX4
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 15d32917cc..fbc20b24a5 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -1,9 +1,3 @@
-/* AIX 4.2 is missing alloca. */
-
#include "aix4-1.h"
#undef ALIGN_DATA_RELOC
-
-#ifndef __GNUC__
-#undef HAVE_ALLOCA
-#endif
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h
index b985d0892a..93d4fba171 100644
--- a/src/s/irix4-0.h
+++ b/src/s/irix4-0.h
@@ -5,7 +5,6 @@
/* XPointer is not defined in the older X headers -- [email protected] */
#define XPointer caddr_t
-#define HAVE_ALLOCA
#ifndef NOT_C_CODE
#include <alloca.h>
#endif
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h
index b2565fbba3..b2cdbeb0b8 100644
--- a/src/s/irix5-0.h
+++ b/src/s/irix5-0.h
@@ -29,11 +29,6 @@
/* Make process_send_signal work by "typing" a signal character on the pty. */
#define SIGNALS_VIA_CHARACTERS
-/* Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used. */
-#define HAVE_ALLOCA
-#undef C_ALLOCA
-
#ifndef NOT_C_CODE
#ifndef __GNUC__
#include <alloca.h>
diff --git a/src/s/sco5.h b/src/s/sco5.h
index 5eea7955ee..04bfd7c181 100644
--- a/src/s/sco5.h
+++ b/src/s/sco5.h
@@ -1,5 +1,5 @@
/* System description file for SCO 3.2v5.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -162,9 +162,6 @@ extern SIGMASKTYPE sigprocmask_set;
#define LD_SWITCH_SYSTEM -belf
#endif
-/* SCO has a working alloca in libPW */
-#define HAVE_ALLOCA
-
/* Don't disable static function, as SCO's header files have some.*/
#undef static
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 01e43a8964..a4b02531bc 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -1,8 +1,3 @@
#include "usg5-4-2.h"
-#ifndef __GNUC__
-#undef HAVE_ALLOCA
-#define C_ALLOCA
-#endif
-
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)