diff options
| author | Andreas Schwab | 2002-04-15 13:24:05 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2002-04-15 13:24:05 +0000 |
| commit | d8f6d720de474d07323ccdf8c70660bda2e9092a (patch) | |
| tree | 8d0504cf6aa875667b9e8becf88a3d90ad5f1a33 /src/m | |
| parent | 4c87c7335bf90336a1829b5013dabf3f59124536 (diff) | |
| download | emacs-d8f6d720de474d07323ccdf8c70660bda2e9092a.tar.gz emacs-d8f6d720de474d07323ccdf8c70660bda2e9092a.zip | |
Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.
Diffstat (limited to 'src/m')
71 files changed, 71 insertions, 749 deletions
diff --git a/src/m/7300.h b/src/m/7300.h index b090d8dd3ee..8f4f70efe69 100644 --- a/src/m/7300.h +++ b/src/m/7300.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for AT&T UNIX PC model 7300 | 1 | /* machine description file for AT&T UNIX PC model 7300 |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | Modified for this machine by mtxinu!rtech!gonzo!daveb | 3 | Modified for this machine by mtxinu!rtech!gonzo!daveb |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -66,15 +66,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 66 | 66 | ||
| 67 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | 67 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ |
| 68 | 68 | ||
| 69 | #ifdef __GNUC__ | 69 | #ifndef __GNUC__ |
| 70 | |||
| 71 | #define HAVE_ALLOCA | ||
| 72 | |||
| 73 | #else | ||
| 74 | 70 | ||
| 75 | #define SWITCH_ENUM_BUG | 71 | #define SWITCH_ENUM_BUG |
| 76 | #define C_ALLOCA | ||
| 77 | #define STACK_DIRECTION -1 | ||
| 78 | 72 | ||
| 79 | #endif | 73 | #endif |
| 80 | 74 | ||
diff --git a/src/m/acorn.h b/src/m/acorn.h index ad7cfeb4ba2..38b148b3d2e 100644 --- a/src/m/acorn.h +++ b/src/m/acorn.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for Acorn RISCiX machines. | 1 | /* Machine description file for Acorn RISCiX machines. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -119,26 +119,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 119 | 119 | ||
| 120 | #define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} | 120 | #define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} |
| 121 | 121 | ||
| 122 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 123 | and the one written in C should be used instead. | ||
| 124 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 125 | working alloca function and it should be used. | ||
| 126 | Define neither one if an assembler-language alloca | ||
| 127 | in the file alloca.s should be used. */ | ||
| 128 | |||
| 129 | #ifdef __GNUC__ | 122 | #ifdef __GNUC__ |
| 130 | 123 | ||
| 131 | /* Use builtin alloca. Also be sure that no other ones are tried out. */ | ||
| 132 | #define alloca __builtin_alloca | ||
| 133 | #define HAVE_ALLOCA | ||
| 134 | |||
| 135 | /* Keep gcc/RISCiX happy - it uses __gccmain where other versions of | 124 | /* Keep gcc/RISCiX happy - it uses __gccmain where other versions of |
| 136 | gcc use __main, because of a library routine name clash. */ | 125 | gcc use __main, because of a library routine name clash. */ |
| 137 | #define __main __gccmain | 126 | #define __main __gccmain |
| 138 | 127 | ||
| 139 | #else | ||
| 140 | #define C_ALLOCA | ||
| 141 | #undef HAVE_ALLOCA | ||
| 142 | #endif /* __GNUC__ */ | 128 | #endif /* __GNUC__ */ |
| 143 | 129 | ||
| 144 | /* Define NO_REMAP if memory segmentation makes it not work well | 130 | /* Define NO_REMAP if memory segmentation makes it not work well |
| @@ -184,9 +170,6 @@ extern int _edata; | |||
| 184 | /* Use <dirent.h>. */ | 170 | /* Use <dirent.h>. */ |
| 185 | #define SYSV_SYSTEM_DIR | 171 | #define SYSV_SYSTEM_DIR |
| 186 | 172 | ||
| 187 | /* For the portable alloca */ | ||
| 188 | #define STACK_DIRECTION -1 | ||
| 189 | |||
| 190 | #ifdef NO_REMAP | 173 | #ifdef NO_REMAP |
| 191 | /* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ | 174 | /* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ |
| 192 | #define START_FILES pre-crt0.o CRT0_O | 175 | #define START_FILES pre-crt0.o CRT0_O |
diff --git a/src/m/alliant-2800.h b/src/m/alliant-2800.h index 5cf7e393433..243b786e714 100644 --- a/src/m/alliant-2800.h +++ b/src/m/alliant-2800.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. | 1 | /* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. |
| 2 | Copyright (C) 1990 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -95,16 +95,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 95 | 95 | ||
| 96 | #undef VIRT_ADDR_VARIES | 96 | #undef VIRT_ADDR_VARIES |
| 97 | 97 | ||
| 98 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 99 | and the one written in C should be used instead. | ||
| 100 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 101 | working alloca function and it should be used. | ||
| 102 | Define neither one if an assembler-language alloca | ||
| 103 | in the file alloca.s should be used. */ | ||
| 104 | |||
| 105 | #undef C_ALLOCA | ||
| 106 | #define HAVE_ALLOCA | ||
| 107 | |||
| 108 | /* Define NO_REMAP if memory segmentation makes it not work well | 98 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 109 | to change the boundary between the text section and data section | 99 | to change the boundary between the text section and data section |
| 110 | when Emacs is dumped. If you define this, the preloaded Lisp | 100 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/alliant.h b/src/m/alliant.h index bf8909fb3ef..86f104ceedd 100644 --- a/src/m/alliant.h +++ b/src/m/alliant.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* alliant.h Alliant machine running system version 2 or 3. | 1 | /* alliant.h Alliant machine running system version 2 or 3. |
| 2 | Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1987, 2002 Free Software Foundation, Inc. |
| 3 | Note that for version 1 of the Alliant system | 3 | Note that for version 1 of the Alliant system |
| 4 | you should use alliant1.h instead of this file. | 4 | you should use alliant1.h instead of this file. |
| 5 | Use alliant4.h for version 4. | 5 | Use alliant4.h for version 4. |
| @@ -83,21 +83,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 83 | 83 | ||
| 84 | #undef VIRT_ADDR_VARIES | 84 | #undef VIRT_ADDR_VARIES |
| 85 | 85 | ||
| 86 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 87 | and the one written in C should be used instead. | ||
| 88 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 89 | working alloca function and it should be used. | ||
| 90 | Define neither one if an assembler-language alloca | ||
| 91 | in the file alloca.s should be used. */ | ||
| 92 | |||
| 93 | #undef C_ALLOCA | ||
| 94 | #define HAVE_ALLOCA | ||
| 95 | |||
| 96 | #ifdef ALLIANT_1 | ||
| 97 | #define C_ALLOCA | ||
| 98 | #undef HAVE_ALLOCA | ||
| 99 | #endif /* ALLIANT_1 */ | ||
| 100 | |||
| 101 | /* Define NO_REMAP if memory segmentation makes it not work well | 86 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 102 | to change the boundary between the text section and data section | 87 | to change the boundary between the text section and data section |
| 103 | when Emacs is dumped. If you define this, the preloaded Lisp | 88 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/alpha.h b/src/m/alpha.h index 82e6332132a..e224bac75ad 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file For the alpha chip. | 1 | /* machine description file For the alpha chip. |
| 2 | Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 1997, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -80,15 +80,6 @@ NOTE-END | |||
| 80 | 80 | ||
| 81 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 81 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 82 | 82 | ||
| 83 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 84 | and the one written in C should be used instead. | ||
| 85 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 86 | working alloca function and it should be used. | ||
| 87 | Define neither one if an assembler-language alloca | ||
| 88 | in the file alloca.s should be used. */ | ||
| 89 | |||
| 90 | #define HAVE_ALLOCA | ||
| 91 | |||
| 92 | /* GNU malloc and the relocating allocator do not work together | 83 | /* GNU malloc and the relocating allocator do not work together |
| 93 | with X. [Who wrote that?] */ | 84 | with X. [Who wrote that?] */ |
| 94 | 85 | ||
diff --git a/src/m/altos.h b/src/m/altos.h index 264d65745d1..a20f89ac903 100644 --- a/src/m/altos.h +++ b/src/m/altos.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* altos machine description file Altos 3068 Unix System V Release 2 | 1 | /* altos machine description file Altos 3068 Unix System V Release 2 |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -36,18 +36,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 36 | 36 | ||
| 37 | #define LIB_STANDARD -lc | 37 | #define LIB_STANDARD -lc |
| 38 | 38 | ||
| 39 | #ifdef __GNUC__ | ||
| 40 | #define alloca __builtin_alloca | ||
| 41 | #define HAVE_ALLOCA | ||
| 42 | #else | ||
| 43 | #define C_ALLOCA /* we have -lPW and alloca but it's broken! | ||
| 44 | <vsedev!ron> */ | ||
| 45 | #endif | ||
| 46 | |||
| 47 | #define SWITCH_ENUM_BUG | 39 | #define SWITCH_ENUM_BUG |
| 48 | 40 | ||
| 49 | #define NO_REMAP | 41 | #define NO_REMAP |
| 50 | #define STACK_DIRECTION -1 | ||
| 51 | 42 | ||
| 52 | #undef TERMINFO | 43 | #undef TERMINFO |
| 53 | 44 | ||
diff --git a/src/m/amdahl.h b/src/m/amdahl.h index 9b4bb7481a9..b0a35395d9e 100644 --- a/src/m/amdahl.h +++ b/src/m/amdahl.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* amdahl machine description file | 1 | /* amdahl machine description file |
| 2 | Copyright (C) 1987, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -90,16 +90,6 @@ compiler is so brain damaged that it is not even worth trying to use it. | |||
| 90 | 90 | ||
| 91 | /* #define VIRT_ADDR_VARIES*/ | 91 | /* #define VIRT_ADDR_VARIES*/ |
| 92 | 92 | ||
| 93 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 94 | and the one written in C should be used instead. | ||
| 95 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 96 | working alloca function and it should be used. | ||
| 97 | Define neither one if an assembler-language alloca | ||
| 98 | in the file alloca.s should be used. */ | ||
| 99 | |||
| 100 | #define C_ALLOCA | ||
| 101 | /*#define HAVE_ALLOCA */ | ||
| 102 | |||
| 103 | #ifdef HAVE_ALLOCA | 93 | #ifdef HAVE_ALLOCA |
| 104 | #define LIB_STANDARD -lPW -lc | 94 | #define LIB_STANDARD -lPW -lc |
| 105 | #endif | 95 | #endif |
| @@ -146,8 +136,5 @@ extern int sign_extend_temp; | |||
| 146 | #define SEGSIZ 0x10000 /* Should this not be defined elsewhere ? */ | 136 | #define SEGSIZ 0x10000 /* Should this not be defined elsewhere ? */ |
| 147 | #define SEGMENT_MASK (SEGSIZ - 1) | 137 | #define SEGMENT_MASK (SEGSIZ - 1) |
| 148 | 138 | ||
| 149 | /* Tell alloca.c which direction stack grows. */ | ||
| 150 | #define STACK_DIRECTION -1 | ||
| 151 | |||
| 152 | /* Compensate for error in signal.h. */ | 139 | /* Compensate for error in signal.h. */ |
| 153 | #define NSIG_MINIMUM 20 | 140 | #define NSIG_MINIMUM 20 |
diff --git a/src/m/apollo.h b/src/m/apollo.h index f8424be88b0..2808e580368 100644 --- a/src/m/apollo.h +++ b/src/m/apollo.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Apollo machine. | 1 | /* machine description file for Apollo machine. |
| 2 | Copyright (C) 1985, 1986, 1994, Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1994, 2002, Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -52,10 +52,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 52 | 52 | ||
| 53 | #undef VIRT_ADDR_VARIES | 53 | #undef VIRT_ADDR_VARIES |
| 54 | 54 | ||
| 55 | /* Define HAVE_ALLOCA because we use the system's version of alloca. */ | ||
| 56 | |||
| 57 | #define HAVE_ALLOCA | ||
| 58 | |||
| 59 | /* Prevent -lg from being used for debugging. Not needed. */ | 55 | /* Prevent -lg from being used for debugging. Not needed. */ |
| 60 | 56 | ||
| 61 | #define LIBS_DEBUG | 57 | #define LIBS_DEBUG |
diff --git a/src/m/arm.h b/src/m/arm.h index 3711bdd740c..ad22303eeec 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for ARM-based non-RISCiX machines. | 1 | /* Machine description file for ARM-based non-RISCiX machines. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -51,13 +51,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 51 | 51 | ||
| 52 | /* Use builtin alloca. Also be sure that no other ones are tried out. */ | 52 | /* Use builtin alloca. Also be sure that no other ones are tried out. */ |
| 53 | #define alloca __builtin_alloca | 53 | #define alloca __builtin_alloca |
| 54 | #define HAVE_ALLOCA | ||
| 55 | 54 | ||
| 56 | #else | ||
| 57 | #define C_ALLOCA | ||
| 58 | #undef HAVE_ALLOCA | ||
| 59 | #endif /* __GNUC__ */ | 55 | #endif /* __GNUC__ */ |
| 60 | 56 | ||
| 61 | #define NO_REMAP | 57 | #define NO_REMAP |
| 62 | |||
| 63 | #define STACK_DIRECTION -1 | ||
diff --git a/src/m/att3b.h b/src/m/att3b.h index 394f3db959f..4d9aab7e6bb 100644 --- a/src/m/att3b.h +++ b/src/m/att3b.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. | 1 | /* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 | 4 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 |
| 5 | 5 | ||
| @@ -78,17 +78,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 78 | 78 | ||
| 79 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ | 79 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ |
| 80 | 80 | ||
| 81 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 82 | and the one written in C should be used instead. | ||
| 83 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 84 | working alloca function and it should be used. | ||
| 85 | Define neither one if an assembler-language alloca | ||
| 86 | in the file alloca.s should be used. */ | ||
| 87 | |||
| 88 | /* SysV has alloca in the PW library */ | 81 | /* SysV has alloca in the PW library */ |
| 89 | 82 | ||
| 90 | #define LIB_STANDARD -lPW -lc | 83 | #define LIB_STANDARD -lPW -lc |
| 91 | #define HAVE_ALLOCA | ||
| 92 | 84 | ||
| 93 | /* Define NO_REMAP if memory segmentation makes it not work well | 85 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 94 | to change the boundary between the text section and data section | 86 | to change the boundary between the text section and data section |
| @@ -136,10 +128,6 @@ extern int sign_extend_temp; | |||
| 136 | 128 | ||
| 137 | #define TEXT_START 0 | 129 | #define TEXT_START 0 |
| 138 | 130 | ||
| 139 | |||
| 140 | /* For alloca.c (not actually used, since HAVE_ALLOCA) */ | ||
| 141 | #define STACK_DIRECTION 1 | ||
| 142 | |||
| 143 | /* (short) negative-int doesn't sign-extend correctly */ | 131 | /* (short) negative-int doesn't sign-extend correctly */ |
| 144 | #define SHORT_CAST_BUG | 132 | #define SHORT_CAST_BUG |
| 145 | 133 | ||
diff --git a/src/m/aviion.h b/src/m/aviion.h index 62802d7a615..c86eb85d02c 100644 --- a/src/m/aviion.h +++ b/src/m/aviion.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Data General AViiON. | 1 | /* machine description file for Data General AViiON. |
| 2 | Copyright (C) 1985, 1986, 1991 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1991, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -86,15 +86,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 86 | 86 | ||
| 87 | /* #define VIRT_ADDR_VARIES */ | 87 | /* #define VIRT_ADDR_VARIES */ |
| 88 | 88 | ||
| 89 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 90 | and the one written in C should be used instead. | ||
| 91 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 92 | working alloca function and it should be used. | ||
| 93 | Define neither one if an assembler-language alloca | ||
| 94 | in the file alloca.s should be used. */ | ||
| 95 | |||
| 96 | /* #define C_ALLOCA */ | ||
| 97 | #define HAVE_ALLOCA | ||
| 98 | #define alloca(x) __builtin_alloca(x) | 89 | #define alloca(x) __builtin_alloca(x) |
| 99 | 90 | ||
| 100 | /* Define NO_REMAP if memory segmentation makes it not work well | 91 | /* Define NO_REMAP if memory segmentation makes it not work well |
diff --git a/src/m/celerity.h b/src/m/celerity.h index 6e378e84fcc..3ec5e99c1ec 100644 --- a/src/m/celerity.h +++ b/src/m/celerity.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Celerity. | 1 | /* machine description file for Celerity. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -52,9 +52,5 @@ Boston, MA 02111-1307, USA. */ | |||
| 52 | 52 | ||
| 53 | #define LD_SWITCH_MACHINE -k100000 | 53 | #define LD_SWITCH_MACHINE -k100000 |
| 54 | 54 | ||
| 55 | /* alloca is provided by the system. */ | ||
| 56 | |||
| 57 | #define HAVE_ALLOCA | ||
| 58 | |||
| 59 | /* (short) negative-int doesn't sign-extend correctly */ | 55 | /* (short) negative-int doesn't sign-extend correctly */ |
| 60 | #define SHORT_CAST_BUG | 56 | #define SHORT_CAST_BUG |
diff --git a/src/m/clipper.h b/src/m/clipper.h index 7dc5e84b07d..8391d7237ef 100644 --- a/src/m/clipper.h +++ b/src/m/clipper.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for clipper | 1 | /* machine description file for clipper |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -80,15 +80,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 80 | 80 | ||
| 81 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ | 81 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ |
| 82 | 82 | ||
| 83 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 84 | and the one written in C should be used instead. | ||
| 85 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 86 | working alloca function and it should be used. | ||
| 87 | Define neither one if an assembler-language alloca | ||
| 88 | in the file alloca.s should be used. */ | ||
| 89 | |||
| 90 | #define C_ALLOCA | ||
| 91 | |||
| 92 | /* Define NO_REMAP if memory segmentation makes it not work well | 83 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 93 | to change the boundary between the text section and data section | 84 | to change the boundary between the text section and data section |
| 94 | when Emacs is dumped. If you define this, the preloaded Lisp | 85 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/cnvrgnt.h b/src/m/cnvrgnt.h index 855055ce33c..5f76da4bb22 100644 --- a/src/m/cnvrgnt.h +++ b/src/m/cnvrgnt.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for convergent S series. | 1 | /* machine description file for convergent S series. |
| 2 | Copyright (C) 1989 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -76,16 +76,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 76 | 76 | ||
| 77 | #undef VIRT_ADDR_VARIES | 77 | #undef VIRT_ADDR_VARIES |
| 78 | 78 | ||
| 79 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 80 | and the one written in C should be used instead. | ||
| 81 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 82 | working alloca function and it should be used. | ||
| 83 | Define neither one if an assembler-language alloca | ||
| 84 | in the file alloca.s should be used. */ | ||
| 85 | |||
| 86 | #define C_ALLOCA | ||
| 87 | #undef HAVE_ALLOCA | ||
| 88 | |||
| 89 | /* Define NO_REMAP if memory segmentation makes it not work well | 79 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 90 | to change the boundary between the text section and data section | 80 | to change the boundary between the text section and data section |
| 91 | when Emacs is dumped. If you define this, the preloaded Lisp | 81 | when Emacs is dumped. If you define this, the preloaded Lisp |
| @@ -97,10 +87,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 97 | 87 | ||
| 98 | #define SWITCH_ENUM_BUG | 88 | #define SWITCH_ENUM_BUG |
| 99 | 89 | ||
| 100 | /* grows towards lower addresses. */ | ||
| 101 | |||
| 102 | #define STACK_DIRECTION -1 | ||
| 103 | |||
| 104 | /* some errno.h's don't actually allocate the variable itself. | 90 | /* some errno.h's don't actually allocate the variable itself. |
| 105 | Cause crt0.c to define errno. */ | 91 | Cause crt0.c to define errno. */ |
| 106 | 92 | ||
diff --git a/src/m/convex.h b/src/m/convex.h index a0fbd6223df..44a86bf5d84 100644 --- a/src/m/convex.h +++ b/src/m/convex.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Convex (all models). | 1 | /* machine description file for Convex (all models). |
| 2 | Copyright (C) 1987, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1994, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -85,16 +85,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 85 | 85 | ||
| 86 | /*#define VIRT_ADDR_VARIES*/ | 86 | /*#define VIRT_ADDR_VARIES*/ |
| 87 | 87 | ||
| 88 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 89 | and the one written in C should be used instead. | ||
| 90 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 91 | working alloca function and it should be used. | ||
| 92 | Define neither one if an assembler-language alloca | ||
| 93 | in the file alloca.s should be used. */ | ||
| 94 | |||
| 95 | /* #define C_ALLOCA */ | ||
| 96 | #define HAVE_ALLOCA | ||
| 97 | |||
| 98 | /* Must use the system's termcap. It does special things. */ | 88 | /* Must use the system's termcap. It does special things. */ |
| 99 | 89 | ||
| 100 | #define LIBS_TERMCAP -ltermcap | 90 | #define LIBS_TERMCAP -ltermcap |
diff --git a/src/m/cydra5.h b/src/m/cydra5.h index 5c8fe36388f..344e6139301 100644 --- a/src/m/cydra5.h +++ b/src/m/cydra5.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Cydrome's CYDRA 5 mini super computer | 1 | /* machine description file for Cydrome's CYDRA 5 mini super computer |
| 2 | Copyright (C) 1988, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -79,16 +79,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 79 | 79 | ||
| 80 | #undef VIRT_ADDR_VARIES | 80 | #undef VIRT_ADDR_VARIES |
| 81 | 81 | ||
| 82 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 83 | and the one written in C should be used instead. | ||
| 84 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 85 | working alloca function and it should be used. | ||
| 86 | Define neither one if an assembler-language alloca | ||
| 87 | in the file alloca.s should be used. */ | ||
| 88 | |||
| 89 | #define C_ALLOCA | ||
| 90 | #undef HAVE_ALLOCA | ||
| 91 | |||
| 92 | /* The data segment in this machine always starts at address 0x10000000. | 82 | /* The data segment in this machine always starts at address 0x10000000. |
| 93 | An address of data cannot be stored correctly in a Lisp object; | 83 | An address of data cannot be stored correctly in a Lisp object; |
| 94 | we always lose the high bits. We must tell XPNTR to add them back. */ | 84 | we always lose the high bits. We must tell XPNTR to add them back. */ |
| @@ -105,9 +95,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 105 | #define BROKEN_FIONREAD /* We son't even have it */ | 95 | #define BROKEN_FIONREAD /* We son't even have it */ |
| 106 | #define LIBS_MACHINE -lsocket -lnsl | 96 | #define LIBS_MACHINE -lsocket -lnsl |
| 107 | 97 | ||
| 108 | /* Stack grows downward in memory. */ | ||
| 109 | #define STACK_DIRECTION -1 | ||
| 110 | |||
| 111 | /* The data section in a coff file must be aligned in the file. */ | 98 | /* The data section in a coff file must be aligned in the file. */ |
| 112 | #define DATA_SECTION_ALIGNMENT 0xFFF | 99 | #define DATA_SECTION_ALIGNMENT 0xFFF |
| 113 | 100 | ||
diff --git a/src/m/delta.h b/src/m/delta.h index 8e8498bafd0..a879580d02a 100644 --- a/src/m/delta.h +++ b/src/m/delta.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Machine description file for the Motorola Delta. | 1 | /* Machine description file for the Motorola Delta. |
| 2 | Tested on mvme147 board using R3V7 without X. Tested with gcc. | 2 | Tested on mvme147 board using R3V7 without X. Tested with gcc. |
| 3 | Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc. | 3 | Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc. |
| 4 | Copyright (C) 1986, 1993, 1994, 1999 Free Software Foundation, Inc. | 4 | Copyright (C) 1986, 1993, 1994, 1999, 2002 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -84,16 +84,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 84 | 84 | ||
| 85 | /* #define VIRT_ADDR_VARIES */ | 85 | /* #define VIRT_ADDR_VARIES */ |
| 86 | 86 | ||
| 87 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 88 | and the one written in C should be used instead. | ||
| 89 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 90 | working alloca function and it should be used. | ||
| 91 | Define neither one if an assembler-language alloca | ||
| 92 | in the file alloca.s should be used. */ | ||
| 93 | |||
| 94 | /* #define C_ALLOCA */ | ||
| 95 | /* #define HAVE_ALLOCA */ | ||
| 96 | |||
| 97 | /* Define NO_REMAP if memory segmentation makes it not work well | 87 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 98 | to change the boundary between the text section and data section | 88 | to change the boundary between the text section and data section |
| 99 | when Emacs is dumped. If you define this, the preloaded Lisp | 89 | when Emacs is dumped. If you define this, the preloaded Lisp |
| @@ -163,7 +153,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 163 | #ifdef __GNUC__ | 153 | #ifdef __GNUC__ |
| 164 | /* Use builtin alloca. Also be sure that no other ones are tried out. */ | 154 | /* Use builtin alloca. Also be sure that no other ones are tried out. */ |
| 165 | # define alloca __builtin_alloca | 155 | # define alloca __builtin_alloca |
| 166 | # define HAVE_ALLOCA | ||
| 167 | /* Union lisp objects do not yet work as of 19.15. */ | 156 | /* Union lisp objects do not yet work as of 19.15. */ |
| 168 | /* # undef NO_UNION_TYPE */ | 157 | /* # undef NO_UNION_TYPE */ |
| 169 | 158 | ||
diff --git a/src/m/delta88k.h b/src/m/delta88k.h index 10bb6c911a5..08eb98e1eaa 100644 --- a/src/m/delta88k.h +++ b/src/m/delta88k.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for Motorola System V/88 machines | 1 | /* Machine description file for Motorola System V/88 machines |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -93,25 +93,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 93 | 93 | ||
| 94 | #define NO_REMAP | 94 | #define NO_REMAP |
| 95 | 95 | ||
| 96 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 97 | and the one written in C should be used instead. | ||
| 98 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 99 | working alloca function and it should be used. | ||
| 100 | Define neither one if an assembler-language alloca | ||
| 101 | in the file alloca.s should be used. */ | ||
| 102 | |||
| 103 | /* BEM: Distributed asm alloca doesn't work. Don't know about libPW.a. | ||
| 104 | C ALLOCA is safe and fast enough for now. */ | ||
| 105 | |||
| 106 | #ifdef __GNUC__ | ||
| 107 | #define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */ | ||
| 108 | #undef C_ALLOCA | ||
| 109 | #else /* not __GNUC__ */ | ||
| 110 | #undef HAVE_ALLOCA | ||
| 111 | #define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ | ||
| 112 | #define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ | ||
| 113 | #endif /* __GNUC__ */ | ||
| 114 | |||
| 115 | /* Motorola SysV has PTYs. Not all usg3-5 systems do, so this is defined | 96 | /* Motorola SysV has PTYs. Not all usg3-5 systems do, so this is defined |
| 116 | here. */ | 97 | here. */ |
| 117 | 98 | ||
diff --git a/src/m/dpx2.h b/src/m/dpx2.h index cb88daf7439..eee18512e6d 100644 --- a/src/m/dpx2.h +++ b/src/m/dpx2.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description for Bull DPX/2 range | 1 | /* machine description for Bull DPX/2 range |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -90,16 +90,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 90 | 90 | ||
| 91 | /* #define VIRT_ADDR_VARIES /**/ | 91 | /* #define VIRT_ADDR_VARIES /**/ |
| 92 | 92 | ||
| 93 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 94 | and the one written in C should be used instead. | ||
| 95 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 96 | working alloca function and it should be used. | ||
| 97 | Define neither one if an assembler-language alloca | ||
| 98 | in the file alloca.s should be used. */ | ||
| 99 | |||
| 100 | #define C_ALLOCA | ||
| 101 | /* #define HAVE_ALLOCA /**/ | ||
| 102 | |||
| 103 | /* Define NO_REMAP if memory segmentation makes it not work well | 93 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 104 | to change the boundary between the text section and data section | 94 | to change the boundary between the text section and data section |
| 105 | when Emacs is dumped. If you define this, the preloaded Lisp | 95 | when Emacs is dumped. If you define this, the preloaded Lisp |
| @@ -190,12 +180,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 190 | 180 | ||
| 191 | #define TEXT_START 0 | 181 | #define TEXT_START 0 |
| 192 | 182 | ||
| 193 | /* | ||
| 194 | * Define the direction of stack growth. | ||
| 195 | */ | ||
| 196 | |||
| 197 | #define STACK_DIRECTION -1 | ||
| 198 | |||
| 199 | /* we have termios */ | 183 | /* we have termios */ |
| 200 | #undef HAVE_TERMIO | 184 | #undef HAVE_TERMIO |
| 201 | #define HAVE_TERMIOS | 185 | #define HAVE_TERMIOS |
diff --git a/src/m/elxsi.h b/src/m/elxsi.h index dc27d25bad7..b3003000dc5 100644 --- a/src/m/elxsi.h +++ b/src/m/elxsi.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Elxsi machine (running enix). | 1 | /* machine description file for Elxsi machine (running enix). |
| 2 | Copyright (C) 1986, 1992 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1992, 2002 Free Software Foundation, Inc. |
| 3 | Adapted by John Salmon | 3 | Adapted by John Salmon |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -96,16 +96,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 96 | 96 | ||
| 97 | /* #define VIRT_ADDR_VARIES */ | 97 | /* #define VIRT_ADDR_VARIES */ |
| 98 | 98 | ||
| 99 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 100 | and the one written in C should be used instead. | ||
| 101 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 102 | working alloca function and it should be used. | ||
| 103 | Define neither one if an assembler-language alloca | ||
| 104 | in the file alloca.s should be used. */ | ||
| 105 | |||
| 106 | #define C_ALLOCA | ||
| 107 | /*#define HAVE_ALLOCA */ | ||
| 108 | |||
| 109 | /* Define NO_REMAP if memory segmentation makes it not work well | 99 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 110 | to change the boundary between the text section and data section | 100 | to change the boundary between the text section and data section |
| 111 | when Emacs is dumped. If you define this, the preloaded Lisp | 101 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/gec63.h b/src/m/gec63.h index c0ca4280911..0a5877bb09e 100644 --- a/src/m/gec63.h +++ b/src/m/gec63.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for gec63 | 1 | /* machine description file for gec63 |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -38,7 +38,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 38 | 38 | ||
| 39 | /* GEC63 has alloca in the PW/ux63 library. */ | 39 | /* GEC63 has alloca in the PW/ux63 library. */ |
| 40 | #define LIB_STANDARD -lPW -lc | 40 | #define LIB_STANDARD -lPW -lc |
| 41 | #define HAVE_ALLOCA | ||
| 42 | 41 | ||
| 43 | /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT | 42 | /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT |
| 44 | since there is no /dev/kmem */ | 43 | since there is no /dev/kmem */ |
diff --git a/src/m/gould.h b/src/m/gould.h index e208b9ea996..c2e469db38e 100644 --- a/src/m/gould.h +++ b/src/m/gould.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * RELEASE2_1 in config.h. This may also be necessary with un-updated | 5 | * RELEASE2_1 in config.h. This may also be necessary with un-updated |
| 6 | * official releases of 2.1 | 6 | * official releases of 2.1 |
| 7 | 7 | ||
| 8 | Copyright (C) 1986 Free Software Foundation, Inc. | 8 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 9 | 9 | ||
| 10 | This file is part of GNU Emacs. | 10 | This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -110,16 +110,6 @@ NOTE-END */ | |||
| 110 | 110 | ||
| 111 | #define VIRT_ADDR_VARIES | 111 | #define VIRT_ADDR_VARIES |
| 112 | 112 | ||
| 113 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 114 | and the one written in C should be used instead. | ||
| 115 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 116 | working alloca function and it should be used. | ||
| 117 | Define neither one if an assembler-language alloca | ||
| 118 | in the file alloca.s should be used. */ | ||
| 119 | |||
| 120 | #define C_ALLOCA | ||
| 121 | #define STACK_DIRECTION -1 /* grows towards lower addresses on Gould UTX/32 */ | ||
| 122 | |||
| 123 | /* No need to extend the user stack. */ | 113 | /* No need to extend the user stack. */ |
| 124 | 114 | ||
| 125 | /* If this is a 2.1 system, COFF will be predefined by cpp. If it's */ | 115 | /* 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 26ce5479617..d20abeb24ee 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for hp9000 series 800 machines. | 1 | /* machine description file for hp9000 series 800 machines. |
| 2 | Copyright (C) 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -102,8 +102,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 102 | 102 | ||
| 103 | #undef CANNOT_DUMP | 103 | #undef CANNOT_DUMP |
| 104 | 104 | ||
| 105 | #define STACK_DIRECTION 1 | ||
| 106 | |||
| 107 | /* Define NO_REMAP if memory segmentation makes it not work well | 105 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 108 | to change the boundary between the text section and data section | 106 | to change the boundary between the text section and data section |
| 109 | when Emacs is dumped. If you define this, the preloaded Lisp | 107 | when Emacs is dumped. If you define this, the preloaded Lisp |
| @@ -117,8 +115,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 117 | 115 | ||
| 118 | #ifdef GNU_LINUX | 116 | #ifdef GNU_LINUX |
| 119 | 117 | ||
| 120 | #define HAVE_ALLOCA | ||
| 121 | |||
| 122 | /* Data type of load average, as read out of kmem. */ | 118 | /* Data type of load average, as read out of kmem. */ |
| 123 | 119 | ||
| 124 | #define LOAD_AVE_TYPE long | 120 | #define LOAD_AVE_TYPE long |
| @@ -141,16 +137,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 141 | numerically. */ | 137 | numerically. */ |
| 142 | 138 | ||
| 143 | #define VIRT_ADDR_VARIES | 139 | #define VIRT_ADDR_VARIES |
| 144 | |||
| 145 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 146 | and the one written in C should be used instead. | ||
| 147 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 148 | working alloca function and it should be used. | ||
| 149 | Define neither one if an assembler-language alloca | ||
| 150 | in the file alloca.s should be used. */ | ||
| 151 | |||
| 152 | #define C_ALLOCA | ||
| 153 | /* #define HAVE_ALLOCA */ | ||
| 154 | 140 | ||
| 155 | /* the data segment on this machine always starts at address 0x40000000. */ | 141 | /* the data segment on this machine always starts at address 0x40000000. */ |
| 156 | 142 | ||
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h index e4db86a959a..725aa0d9eec 100644 --- a/src/m/hp9000s300.h +++ b/src/m/hp9000s300.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for hp9000 series 200 or 300 on either HPUX or BSD. | 1 | /* machine description file for hp9000 series 200 or 300 on either HPUX or BSD. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -120,8 +120,6 @@ NOTE-END */ | |||
| 120 | 120 | ||
| 121 | #define CRT0_DUMMIES bogus_a6, | 121 | #define CRT0_DUMMIES bogus_a6, |
| 122 | 122 | ||
| 123 | #define HAVE_ALLOCA | ||
| 124 | |||
| 125 | #ifndef __GNUC__ | 123 | #ifndef __GNUC__ |
| 126 | #define LIBS_DEBUG /* don't have -lg that works */ | 124 | #define LIBS_DEBUG /* don't have -lg that works */ |
| 127 | #define C_DEBUG_SWITCH /* don't support -g */ | 125 | #define C_DEBUG_SWITCH /* don't support -g */ |
| @@ -150,10 +148,6 @@ NOTE-END */ | |||
| 150 | 148 | ||
| 151 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | 149 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) |
| 152 | 150 | ||
| 153 | #ifdef __GNUC__ | ||
| 154 | #define HAVE_ALLOCA | ||
| 155 | #endif | ||
| 156 | |||
| 157 | /* This library is needed with -g, on the 200/300 only. */ | 151 | /* This library is needed with -g, on the 200/300 only. */ |
| 158 | 152 | ||
| 159 | #if !defined(__GNUC__) || defined(__HPUX_ASM__) | 153 | #if !defined(__GNUC__) || defined(__HPUX_ASM__) |
diff --git a/src/m/i860.h b/src/m/i860.h index f1ce0c04fb1..b65b6fdd27d 100644 --- a/src/m/i860.h +++ b/src/m/i860.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for i860. | 1 | /* machine description file for i860. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | 81 | ||
| 82 | /* #define VIRT_ADDR_VARIES */ | 82 | /* #define VIRT_ADDR_VARIES */ |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | |||
| 91 | #define C_ALLOCA | ||
| 92 | /* #define HAVE_ALLOCA */ | ||
| 93 | |||
| 94 | /* Define NO_REMAP if memory segmentation makes it not work well | 84 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 95 | to change the boundary between the text section and data section | 85 | to change the boundary between the text section and data section |
| 96 | when Emacs is dumped. If you define this, the preloaded Lisp | 86 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/ia64.h b/src/m/ia64.h index f77d0a89aea..dff99e73496 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the IA-64 architecture. | 1 | /* machine description file for the IA-64 architecture. |
| 2 | Copyright (C) 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2002 Free Software Foundation, Inc. |
| 3 | Contributed by David Mosberger <davidm@hpl.hp.com> | 3 | Contributed by David Mosberger <davidm@hpl.hp.com> |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -87,15 +87,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 87 | 87 | ||
| 88 | /* #define VIRT_ADDR_VARIES */ | 88 | /* #define VIRT_ADDR_VARIES */ |
| 89 | 89 | ||
| 90 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 91 | and the one written in C should be used instead. | ||
| 92 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 93 | working alloca function and it should be used. | ||
| 94 | Define neither one if an assembler-language alloca | ||
| 95 | in the file alloca.s should be used. */ | ||
| 96 | |||
| 97 | #define HAVE_ALLOCA | ||
| 98 | |||
| 99 | /* Define the following if GNU malloc and the relocating allocator do | 90 | /* Define the following if GNU malloc and the relocating allocator do |
| 100 | not work together with X. */ | 91 | not work together with X. */ |
| 101 | 92 | ||
diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h index b6b61715e01..36dc0e7cbdc 100644 --- a/src/m/ibmps2-aix.h +++ b/src/m/ibmps2-aix.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for ibm ps/2 aix386. | 1 | /* machine description file for ibm ps/2 aix386. |
| 2 | Copyright (C) 1989 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -187,15 +187,7 @@ so disable it for them. */ | |||
| 187 | 187 | ||
| 188 | /* Here override various assumptions in ymakefile */ | 188 | /* Here override various assumptions in ymakefile */ |
| 189 | 189 | ||
| 190 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 191 | and the one written in C should be used instead. | ||
| 192 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 193 | working alloca function and it should be used. | ||
| 194 | Define neither one if an assembler-language alloca | ||
| 195 | in the file alloca.s should be used. */ | ||
| 196 | |||
| 197 | #ifdef __GNUC__ | 190 | #ifdef __GNUC__ |
| 198 | #define HAVE_ALLOCA | ||
| 199 | #define alloca(n) __builtin_alloca(n) | 191 | #define alloca(n) __builtin_alloca(n) |
| 200 | #if __GNUC__ < 2 | 192 | #if __GNUC__ < 2 |
| 201 | #define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc | 193 | #define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc |
| @@ -204,8 +196,6 @@ so disable it for them. */ | |||
| 204 | /* tranle says that -fstrength-reduce does not help. */ | 196 | /* tranle says that -fstrength-reduce does not help. */ |
| 205 | #define C_DEBUG_SWITCH | 197 | #define C_DEBUG_SWITCH |
| 206 | #else | 198 | #else |
| 207 | #define C_ALLOCA | ||
| 208 | #define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ | ||
| 209 | #define LIBS_MACHINE -lbsd -lrts | 199 | #define LIBS_MACHINE -lbsd -lrts |
| 210 | #endif | 200 | #endif |
| 211 | 201 | ||
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index 8500ee9a7a2..51f809c45ff 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* R2 AIX machine/system dependent defines | 1 | /* R2 AIX machine/system dependent defines |
| 2 | Copyright (C) 1988 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -101,19 +101,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 101 | #undef ADDR_CORRECT | 101 | #undef ADDR_CORRECT |
| 102 | #define ADDR_CORRECT(x) ((int)(x)) | 102 | #define ADDR_CORRECT(x) ((int)(x)) |
| 103 | 103 | ||
| 104 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 105 | and the one written in C should be used instead. | ||
| 106 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 107 | working alloca function and it should be used. | ||
| 108 | Define neither one if an assembler-language alloca | ||
| 109 | in the file alloca.s should be used. */ | ||
| 110 | |||
| 111 | /* Note: aix3-2.h defines HAVE_ALLOCA; aix3-1.h doesn't. */ | ||
| 112 | #ifndef HAVE_ALLOCA | ||
| 113 | #define C_ALLOCA | ||
| 114 | #define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ | ||
| 115 | #endif | ||
| 116 | |||
| 117 | /* Specify the font for X to use. | 104 | /* Specify the font for X to use. |
| 118 | This used to be Rom14.500; that's nice on the X server shipped with | 105 | This used to be Rom14.500; that's nice on the X server shipped with |
| 119 | the RS/6000, but it's not available on other servers. */ | 106 | 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 5ff553636b9..0ae8941007f 100644 --- a/src/m/ibmrt-aix.h +++ b/src/m/ibmrt-aix.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* RTPC AIX machine/system dependent defines | 1 | /* RTPC AIX machine/system dependent defines |
| 2 | Copyright (C) 1988, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -86,16 +86,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 86 | 86 | ||
| 87 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | 87 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) |
| 88 | 88 | ||
| 89 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 90 | and the one written in C should be used instead. | ||
| 91 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 92 | working alloca function and it should be used. | ||
| 93 | Define neither one if an assembler-language alloca | ||
| 94 | in the file alloca.s should be used. */ | ||
| 95 | |||
| 96 | #define C_ALLOCA | ||
| 97 | #define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ | ||
| 98 | |||
| 99 | /* AIX has PTYs, so define here, along with macros needed to make them work. */ | 89 | /* AIX has PTYs, so define here, along with macros needed to make them work. */ |
| 100 | 90 | ||
| 101 | #define HAVE_PTYS | 91 | #define HAVE_PTYS |
diff --git a/src/m/ibmrt.h b/src/m/ibmrt.h index e9404d125c1..e6dfa17117d 100644 --- a/src/m/ibmrt.h +++ b/src/m/ibmrt.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* RTPC machine dependent defines | 1 | /* RTPC machine dependent defines |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -79,15 +79,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 79 | numerically. */ | 79 | numerically. */ |
| 80 | 80 | ||
| 81 | #undef VIRT_ADDR_VARIES | 81 | #undef VIRT_ADDR_VARIES |
| 82 | |||
| 83 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 84 | and the one written in C should be used instead. | ||
| 85 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 86 | working alloca function and it should be used. | ||
| 87 | Define neither one if an assembler-language alloca | ||
| 88 | in the file alloca.s should be used. */ | ||
| 89 | |||
| 90 | #define HAVE_ALLOCA | ||
| 91 | 82 | ||
| 92 | /* The data segment in this machine starts at a fixed address. | 83 | /* The data segment in this machine starts at a fixed address. |
| 93 | An address of data cannot be stored correctly in a Lisp object; | 84 | 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 ce4e6bcef74..019db37bd80 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2001, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | 81 | ||
| 82 | #define VIRT_ADDR_VARIES | 82 | #define VIRT_ADDR_VARIES |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | |||
| 91 | /* #define C_ALLOCA */ | ||
| 92 | #define HAVE_ALLOCA | ||
| 93 | |||
| 94 | /* Define NO_REMAP if memory segmentation makes it not work well | 84 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 95 | to change the boundary between the text section and data section | 85 | to change the boundary between the text section and data section |
| 96 | when Emacs is dumped. If you define this, the preloaded Lisp | 86 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/intel386.h b/src/m/intel386.h index 6ac58b824df..26be9d6fd97 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for intel 386. | 1 | /* Machine description file for intel 386. |
| 2 | Copyright (C) 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -166,8 +166,6 @@ NOTE-END */ | |||
| 166 | 166 | ||
| 167 | #define NO_REMAP | 167 | #define NO_REMAP |
| 168 | 168 | ||
| 169 | #define STACK_DIRECTION -1 | ||
| 170 | |||
| 171 | /* Since cannot purify, use standard Xenix 386 startup code. */ | 169 | /* Since cannot purify, use standard Xenix 386 startup code. */ |
| 172 | 170 | ||
| 173 | #define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o | 171 | #define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o |
| @@ -192,25 +190,14 @@ NOTE-END */ | |||
| 192 | #endif /* not USG5_4 */ | 190 | #endif /* not USG5_4 */ |
| 193 | #endif /* LIB_STANDARD */ | 191 | #endif /* LIB_STANDARD */ |
| 194 | 192 | ||
| 195 | /* Paul Abrahams <abrahams@acm.org> says that | ||
| 196 | Unixware does not have alloca when using cc. */ | ||
| 197 | #if ! (defined (USG5_4) && ! defined (SOLARIS2) && ! defined (__GNUC__)) | ||
| 198 | #define HAVE_ALLOCA | ||
| 199 | #endif | ||
| 200 | |||
| 201 | #define NO_REMAP | 193 | #define NO_REMAP |
| 202 | #define TEXT_START 0 | 194 | #define TEXT_START 0 |
| 203 | #endif /* USG */ | 195 | #endif /* USG */ |
| 204 | #endif /* not XENIX */ | 196 | #endif /* not XENIX */ |
| 205 | 197 | ||
| 206 | #ifdef BSD_SYSTEM | ||
| 207 | #define HAVE_ALLOCA | ||
| 208 | #endif /* BSD_SYSTEM */ | ||
| 209 | |||
| 210 | /* If compiling with GCC, let GCC implement alloca. */ | 198 | /* If compiling with GCC, let GCC implement alloca. */ |
| 211 | #if defined(__GNUC__) && !defined(alloca) | 199 | #if defined(__GNUC__) && !defined(alloca) |
| 212 | #define alloca(n) __builtin_alloca(n) | 200 | #define alloca(n) __builtin_alloca(n) |
| 213 | #define HAVE_ALLOCA | ||
| 214 | #endif | 201 | #endif |
| 215 | 202 | ||
| 216 | #ifdef USG5_4 | 203 | #ifdef USG5_4 |
| @@ -225,7 +212,6 @@ NOTE-END */ | |||
| 225 | #define VIRT_ADDR_VARIES | 212 | #define VIRT_ADDR_VARIES |
| 226 | #define DATA_END get_data_end () | 213 | #define DATA_END get_data_end () |
| 227 | #define DATA_START get_data_start () | 214 | #define DATA_START get_data_start () |
| 228 | #define HAVE_ALLOCA | ||
| 229 | #define NO_ARG_ARRAY | 215 | #define NO_ARG_ARRAY |
| 230 | #endif | 216 | #endif |
| 231 | 217 | ||
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index bfbe6a2f131..457f3594636 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Iris-4D machines. Use with s/irix*.h. | 1 | /* machine description file for Iris-4D machines. Use with s/irix*.h. |
| 2 | Copyright (C) 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -91,16 +91,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 91 | 91 | ||
| 92 | /* #define VIRT_ADDR_VARIES */ | 92 | /* #define VIRT_ADDR_VARIES */ |
| 93 | 93 | ||
| 94 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 95 | and the one written in C should be used instead. | ||
| 96 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 97 | working alloca function and it should be used. | ||
| 98 | Define neither one if an assembler-language alloca | ||
| 99 | in the file alloca.s should be used. */ | ||
| 100 | |||
| 101 | /* #define C_ALLOCA */ /* Sjoerd.Mullender@cwi.nl says no need. */ | ||
| 102 | /* #define HAVE_ALLOCA */ | ||
| 103 | |||
| 104 | /* Define NO_REMAP if memory segmentation makes it not work well | 94 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 105 | to change the boundary between the text section and data section | 95 | to change the boundary between the text section and data section |
| 106 | when Emacs is dumped. If you define this, the preloaded Lisp | 96 | when Emacs is dumped. If you define this, the preloaded Lisp |
| @@ -168,11 +158,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 168 | 158 | ||
| 169 | #undef FIRST_PTY_LETTER | 159 | #undef FIRST_PTY_LETTER |
| 170 | #define FIRST_PTY_LETTER 'q' | 160 | #define FIRST_PTY_LETTER 'q' |
| 171 | |||
| 172 | /* Define STACK_DIRECTION for alloca.c */ | ||
| 173 | |||
| 174 | #undef STACK_DIRECTION | ||
| 175 | #define STACK_DIRECTION -1 | ||
| 176 | 161 | ||
| 177 | #ifndef _LP64 | 162 | #ifndef _LP64 |
| 178 | /* The standard definitions of these macros would work ok, | 163 | /* The standard definitions of these macros would work ok, |
diff --git a/src/m/irist.h b/src/m/irist.h index 9de72155458..78111b6a3e1 100644 --- a/src/m/irist.h +++ b/src/m/irist.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Silicon Graphics Iris 2500 Turbos; | 1 | /* machine description file for Silicon Graphics Iris 2500 Turbos; |
| 2 | also possibly for non-turbo Irises with system release 2.5. | 2 | also possibly for non-turbo Irises with system release 2.5. |
| 3 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -49,7 +49,7 @@ NOTE-END */ | |||
| 49 | /* Eric - May 4, 1987 */ | 49 | /* Eric - May 4, 1987 */ |
| 50 | report_file_error ("Worked just find\n", Qnil); | 50 | report_file_error ("Worked just find\n", Qnil); |
| 51 | 51 | ||
| 52 | Without any sort of debugger that works on emacs (I know... but I don't have | 52 | Without any sort of debugger that works on emacs (I know... but I dont have |
| 53 | *time* right now to start with gdb), it was quite time consuming to track | 53 | *time* right now to start with gdb), it was quite time consuming to track |
| 54 | it down to this. | 54 | it down to this. |
| 55 | 55 | ||
| @@ -118,16 +118,6 @@ NOTE-END */ | |||
| 118 | 118 | ||
| 119 | /* #define VIRT_ADDR_VARIES */ | 119 | /* #define VIRT_ADDR_VARIES */ |
| 120 | 120 | ||
| 121 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 122 | and the one written in C should be used instead. | ||
| 123 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 124 | working alloca function and it should be used. | ||
| 125 | Define neither one if an assembler-language alloca | ||
| 126 | in the file alloca.s should be used. */ | ||
| 127 | |||
| 128 | /* #define C_ALLOCA */ | ||
| 129 | #define HAVE_ALLOCA | ||
| 130 | |||
| 131 | /* Define NO_REMAP if memory segmentation makes it not work well | 121 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 132 | to change the boundary between the text section and data section | 122 | to change the boundary between the text section and data section |
| 133 | when Emacs is dumped. If you define this, the preloaded Lisp | 123 | 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 beb3fdd122a..768b40051f6 100644 --- a/src/m/isi-ov.h +++ b/src/m/isi-ov.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for ISI 68000's | 1 | /* machine description file for ISI 68000's |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -83,7 +83,6 @@ NOTE-END */ | |||
| 83 | /* A few changes for the newer systems. */ | 83 | /* A few changes for the newer systems. */ |
| 84 | 84 | ||
| 85 | #ifdef BSD4_3 | 85 | #ifdef BSD4_3 |
| 86 | #define HAVE_ALLOCA | ||
| 87 | /* The following line affects crt0.c. */ | 86 | /* The following line affects crt0.c. */ |
| 88 | #undef m68k | 87 | #undef m68k |
| 89 | 88 | ||
diff --git a/src/m/m68k.h b/src/m/m68k.h index d2a1ebff743..54d783eba51 100644 --- a/src/m/m68k.h +++ b/src/m/m68k.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for generic Motorola 68k. | 1 | /* Machine description file for generic Motorola 68k. |
| 2 | Copyright (C) 1985, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1995, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -85,5 +85,4 @@ Boston, MA 02111-1307, USA. */ | |||
| 85 | /* If compiling with GCC, let GCC implement alloca. */ | 85 | /* If compiling with GCC, let GCC implement alloca. */ |
| 86 | #if defined(__GNUC__) && !defined(alloca) | 86 | #if defined(__GNUC__) && !defined(alloca) |
| 87 | #define alloca(n) __builtin_alloca(n) | 87 | #define alloca(n) __builtin_alloca(n) |
| 88 | #define HAVE_ALLOCA | ||
| 89 | #endif | 88 | #endif |
diff --git a/src/m/macppc.h b/src/m/macppc.h index 860371d34e6..6f8f841a46c 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file For the powerpc Macintosh. | 1 | /* machine description file For the powerpc Macintosh. |
| 2 | Copyright (C) 1994, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2001, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -51,15 +51,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 51 | 51 | ||
| 52 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 52 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 53 | 53 | ||
| 54 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 55 | and the one written in C should be used instead. | ||
| 56 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 57 | working alloca function and it should be used. | ||
| 58 | Define neither one if an assembler-language alloca | ||
| 59 | in the file alloca.s should be used. */ | ||
| 60 | |||
| 61 | #define HAVE_ALLOCA | ||
| 62 | |||
| 63 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) | 54 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) |
| 64 | * do not support asynchronous I/O (using SIGIO) on sockets, | 55 | * do not support asynchronous I/O (using SIGIO) on sockets, |
| 65 | * even though it works fine on tty's. If you have one of | 56 | * 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 5f9aa6ae50b..540fa3e0a8e 100644 --- a/src/m/masscomp.h +++ b/src/m/masscomp.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Masscomp 5000 series running RTU, ucb universe. | 1 | /* machine description file for Masscomp 5000 series running RTU, ucb universe. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -81,25 +81,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | 81 | ||
| 82 | #undef VIRT_ADDR_VARIES | 82 | #undef VIRT_ADDR_VARIES |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | |||
| 91 | /* On return from a subroutine, the 68020 compiler restores old contents of | ||
| 92 | register variables relative to sp, so alloca() screws up such routines. | ||
| 93 | The following definitions should work on all Masscomps. On the MC-5500 | ||
| 94 | (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */ | ||
| 95 | #ifdef mc500 | ||
| 96 | #undef C_ALLOCA | ||
| 97 | #define HAVE_ALLOCA | ||
| 98 | #else | ||
| 99 | #define C_ALLOCA | ||
| 100 | #undef HAVE_ALLOCA | ||
| 101 | #endif | ||
| 102 | |||
| 103 | /* Define NO_REMAP if memory segmentation makes it not work well | 84 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 104 | to change the boundary between the text section and data section | 85 | to change the boundary between the text section and data section |
| 105 | when Emacs is dumped. If you define this, the preloaded Lisp | 86 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/mg1.h b/src/m/mg1.h index 13e4dbeb8bf..7d37959e441 100644 --- a/src/m/mg1.h +++ b/src/m/mg1.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Whitechapel Computer Works MG1 (ns16000 based). | 1 | /* machine description file for Whitechapel Computer Works MG1 (ns16000 based). |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. |
| 3 | MG-1 version by L.M.McLoughlin | 3 | MG-1 version by L.M.McLoughlin |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -92,16 +92,6 @@ NOTE-END */ | |||
| 92 | /* hmmmm... not sure. copied sequent.h */ | 92 | /* hmmmm... not sure. copied sequent.h */ |
| 93 | #undef VIRT_ADDR_VARIES | 93 | #undef VIRT_ADDR_VARIES |
| 94 | 94 | ||
| 95 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 96 | and the one written in C should be used instead. | ||
| 97 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 98 | working alloca function and it should be used. | ||
| 99 | Define neither one if an assembler-language alloca | ||
| 100 | in the file alloca.s should be used. */ | ||
| 101 | /* hmmmm... again not sure. so copied sequent.h again! */ | ||
| 102 | #undef C_ALLOCA | ||
| 103 | #undef HAVE_ALLOCA | ||
| 104 | |||
| 105 | /* Define NO_REMAP if memory segmentation makes it not work well | 95 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 106 | to change the boundary between the text section and data section | 96 | to change the boundary between the text section and data section |
| 107 | when Emacs is dumped. If you define this, the preloaded Lisp | 97 | 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 c0bfd7a61f6..a2d20ba6186 100644 --- a/src/m/mips-siemens.h +++ b/src/m/mips-siemens.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1992, 1993, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1992, 1993, 1995, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file contains some changes for our SVR4 based SINIX-Mips 5.4. | 4 | This file contains some changes for our SVR4 based SINIX-Mips 5.4. |
| 5 | I hope this is helpful to port the emacs to our RM?00 series and | 5 | I hope this is helpful to port the emacs to our RM?00 series and |
| @@ -104,19 +104,6 @@ NOTE-END */ | |||
| 104 | 104 | ||
| 105 | /* #define VIRT_ADDR_VARIES */ | 105 | /* #define VIRT_ADDR_VARIES */ |
| 106 | 106 | ||
| 107 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 108 | and the one written in C should be used instead. | ||
| 109 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 110 | working alloca function and it should be used. | ||
| 111 | Define neither one if an assembler-language alloca | ||
| 112 | in the file alloca.s should be used. */ | ||
| 113 | |||
| 114 | #ifdef __GNUC__ | ||
| 115 | #define HAVE_ALLOCA | ||
| 116 | #else | ||
| 117 | #define C_ALLOCA | ||
| 118 | #endif | ||
| 119 | |||
| 120 | /* Define NO_REMAP if memory segmentation makes it not work well | 107 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 121 | to change the boundary between the text section and data section | 108 | to change the boundary between the text section and data section |
| 122 | when Emacs is dumped. If you define this, the preloaded Lisp | 109 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/mips.h b/src/m/mips.h index cd16e8f394f..bed36944316 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1992, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1992, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -99,19 +99,6 @@ NOTE-END */ | |||
| 99 | 99 | ||
| 100 | /* #define VIRT_ADDR_VARIES */ | 100 | /* #define VIRT_ADDR_VARIES */ |
| 101 | 101 | ||
| 102 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 103 | and the one written in C should be used instead. | ||
| 104 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 105 | working alloca function and it should be used. | ||
| 106 | Define neither one if an assembler-language alloca | ||
| 107 | in the file alloca.s should be used. */ | ||
| 108 | |||
| 109 | #ifdef __GNUC__ | ||
| 110 | #define HAVE_ALLOCA | ||
| 111 | #else | ||
| 112 | #define C_ALLOCA | ||
| 113 | #endif | ||
| 114 | |||
| 115 | /* Define NO_REMAP if memory segmentation makes it not work well | 102 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 116 | to change the boundary between the text section and data section | 103 | to change the boundary between the text section and data section |
| 117 | when Emacs is dumped. If you define this, the preloaded Lisp | 104 | 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 9279e6aec66..7018dc9571a 100644 --- a/src/m/news-r6.h +++ b/src/m/news-r6.h | |||
| @@ -19,15 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) | 20 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) |
| 21 | 21 | ||
| 22 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 23 | and the one written in C should be used instead. | ||
| 24 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 25 | working alloca function and it should be used. | ||
| 26 | Define neither one if an assembler-language alloca | ||
| 27 | in the file alloca.s should be used. */ | ||
| 28 | |||
| 29 | #define HAVE_ALLOCA | ||
| 30 | |||
| 31 | /* Define NO_REMAP if memory segmentation makes it not work well | 22 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 32 | to change the boundary between the text section and data section | 23 | to change the boundary between the text section and data section |
| 33 | when Emacs is dumped. If you define this, the preloaded Lisp | 24 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/news.h b/src/m/news.h index 8b4c5a8275e..0fdeed10f4e 100644 --- a/src/m/news.h +++ b/src/m/news.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. | 1 | /* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. |
| 2 | Copyright (C) 1985, 1986, 1989 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1989, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -48,10 +48,6 @@ NOTE-END */ | |||
| 48 | 48 | ||
| 49 | #define NO_UNION_TYPE | 49 | #define NO_UNION_TYPE |
| 50 | 50 | ||
| 51 | /* The News machine has alloca. */ | ||
| 52 | |||
| 53 | #define HAVE_ALLOCA | ||
| 54 | |||
| 55 | /* Data type of load average, as read out of kmem. */ | 51 | /* Data type of load average, as read out of kmem. */ |
| 56 | 52 | ||
| 57 | #define LOAD_AVE_TYPE double | 53 | #define LOAD_AVE_TYPE double |
diff --git a/src/m/next.h b/src/m/next.h index 0c3a2466fae..b2ceb49f434 100644 --- a/src/m/next.h +++ b/src/m/next.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Configuration file for the NeXT machine. | 1 | /* Configuration file for the NeXT machine. |
| 2 | Copyright (C) 1990 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -65,8 +65,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 65 | #define SEGSIZ 0x20000 | 65 | #define SEGSIZ 0x20000 |
| 66 | #define SEGMENT_MASK (SEGSIZ - 1) | 66 | #define SEGMENT_MASK (SEGSIZ - 1) |
| 67 | 67 | ||
| 68 | #define HAVE_ALLOCA | ||
| 69 | |||
| 70 | #define SYSTEM_MALLOC | 68 | #define SYSTEM_MALLOC |
| 71 | 69 | ||
| 72 | #define HAVE_UNIX_DOMAIN | 70 | #define HAVE_UNIX_DOMAIN |
diff --git a/src/m/nh3000.h b/src/m/nh3000.h index c124e1bf6c7..eafb560e471 100644 --- a/src/m/nh3000.h +++ b/src/m/nh3000.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* machine description for Harris Night Hawk Series 1200 and Series 3000 | 1 | /* machine description for Harris Night Hawk Series 1200 and Series 3000 |
| 2 | MC68030-based systems (FPP on these is custom). These systems are | 2 | MC68030-based systems (FPP on these is custom). These systems are |
| 3 | also known as "ecx" and "gcx". | 3 | also known as "ecx" and "gcx". |
| 4 | Copyright (C) 1994 Free Software Foundation, Inc. | 4 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -83,16 +83,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 83 | 83 | ||
| 84 | /* #define VIRT_ADDR_VARIES */ | 84 | /* #define VIRT_ADDR_VARIES */ |
| 85 | 85 | ||
| 86 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 87 | and the one written in C should be used instead. | ||
| 88 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 89 | working alloca function and it should be used. | ||
| 90 | Define neither one if an assembler-language alloca | ||
| 91 | in the file alloca.s should be used. */ | ||
| 92 | |||
| 93 | /* #define C_ALLOCA */ | ||
| 94 | #define HAVE_ALLOCA | ||
| 95 | |||
| 96 | /* Define NO_REMAP if memory segmentation makes it not work well | 86 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 97 | to change the boundary between the text section and data section | 87 | to change the boundary between the text section and data section |
| 98 | when Emacs is dumped. If you define this, the preloaded Lisp | 88 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/nh4000.h b/src/m/nh4000.h index df8c80901b0..b5db2802cfa 100644 --- a/src/m/nh4000.h +++ b/src/m/nh4000.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description for Harris NightHawk 88k based machines | 1 | /* machine description for Harris NightHawk 88k based machines |
| 2 | (includes nh4000 and nh5000 machines). | 2 | (includes nh4000 and nh5000 machines). |
| 3 | Copyright (C) 1994 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -82,16 +82,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 82 | 82 | ||
| 83 | /* #define VIRT_ADDR_VARIES */ | 83 | /* #define VIRT_ADDR_VARIES */ |
| 84 | 84 | ||
| 85 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 86 | and the one written in C should be used instead. | ||
| 87 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 88 | working alloca function and it should be used. | ||
| 89 | Define neither one if an assembler-language alloca | ||
| 90 | in the file alloca.s should be used. */ | ||
| 91 | |||
| 92 | /* #define C_ALLOCA */ | ||
| 93 | #define HAVE_ALLOCA | ||
| 94 | |||
| 95 | /* Define NO_REMAP if memory segmentation makes it not work well | 85 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 96 | to change the boundary between the text section and data section | 86 | to change the boundary between the text section and data section |
| 97 | when Emacs is dumped. If you define this, the preloaded Lisp | 87 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/ns32000.h b/src/m/ns32000.h index 345d4174a76..2bacb5702d3 100644 --- a/src/m/ns32000.h +++ b/src/m/ns32000.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for National Semiconductor 32000, running Genix. | 1 | /* machine description file for National Semiconductor 32000, running Genix. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -80,18 +80,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 80 | 80 | ||
| 81 | /* #define VIRT_ADDR_VARIES */ | 81 | /* #define VIRT_ADDR_VARIES */ |
| 82 | 82 | ||
| 83 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 84 | and the one written in C should be used instead. | ||
| 85 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 86 | working alloca function and it should be used. | ||
| 87 | Define neither one if an assembler-language alloca | ||
| 88 | in the file alloca.s should be used. */ | ||
| 89 | |||
| 90 | /* #define C_ALLOCA */ | ||
| 91 | #if defined (__NetBSD__) || defined (__OpenBSD__) | ||
| 92 | #define HAVE_ALLOCA | ||
| 93 | #endif | ||
| 94 | |||
| 95 | /* Define NO_REMAP if memory segmentation makes it not work well | 83 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 96 | to change the boundary between the text section and data section | 84 | to change the boundary between the text section and data section |
| 97 | when Emacs is dumped. If you define this, the preloaded Lisp | 85 | when Emacs is dumped. If you define this, the preloaded Lisp |
| @@ -101,8 +89,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 101 | 89 | ||
| 102 | #define TEXT_START 0 | 90 | #define TEXT_START 0 |
| 103 | 91 | ||
| 104 | #define STACK_DIRECTION -1 | ||
| 105 | |||
| 106 | #if !defined (__NetBSD__) && !defined (__OpenBSD__) | 92 | #if !defined (__NetBSD__) && !defined (__OpenBSD__) |
| 107 | #define EXEC_MAGIC 0410 | 93 | #define EXEC_MAGIC 0410 |
| 108 | 94 | ||
diff --git a/src/m/orion.h b/src/m/orion.h index bfb85cdb6fc..c2b83bc1903 100644 --- a/src/m/orion.h +++ b/src/m/orion.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for HLH Orion. | 1 | /* machine description file for HLH Orion. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -64,8 +64,3 @@ Boston, MA 02111-1307, USA. */ | |||
| 64 | #define FSCALE 1.0 | 64 | #define FSCALE 1.0 |
| 65 | #endif | 65 | #endif |
| 66 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 66 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 67 | |||
| 68 | /* It is necessary to use the portable imitation of alloca, | ||
| 69 | since a true stack-allocating one is impossible. */ | ||
| 70 | |||
| 71 | #define C_ALLOCA | ||
diff --git a/src/m/pfa50.h b/src/m/pfa50.h index 5b8d47aef53..457ea06ff12 100644 --- a/src/m/pfa50.h +++ b/src/m/pfa50.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for PFU A-series. | 1 | /* Machine description file for PFU A-series. |
| 2 | Copyright (C) 1988, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -75,7 +75,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 75 | /* SX/A has alloca in the PW library. */ | 75 | /* SX/A has alloca in the PW library. */ |
| 76 | 76 | ||
| 77 | #define LIB_STANDARD -lPW -lc | 77 | #define LIB_STANDARD -lPW -lc |
| 78 | #define HAVE_ALLOCA | ||
| 79 | 78 | ||
| 80 | /* SX/A uses terminfo and lib/curses */ | 79 | /* SX/A uses terminfo and lib/curses */ |
| 81 | 80 | ||
diff --git a/src/m/plexus.h b/src/m/plexus.h index b42c93c285a..9f8690127ec 100644 --- a/src/m/plexus.h +++ b/src/m/plexus.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the Plexus running System V.2. | 1 | /* machine description file for the Plexus running System V.2. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | 81 | ||
| 82 | #undef VIRT_ADDR_VARIES | 82 | #undef VIRT_ADDR_VARIES |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | |||
| 91 | #undef C_ALLOCA | ||
| 92 | #define HAVE_ALLOCA | ||
| 93 | |||
| 94 | /* Define NO_REMAP if memory segmentation makes it not work well | 84 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 95 | to change the boundary between the text section and data section | 85 | to change the boundary between the text section and data section |
| 96 | when Emacs is dumped. If you define this, the preloaded Lisp | 86 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/pmax.h b/src/m/pmax.h index 7e9e977b314..c04bfae6331 100644 --- a/src/m/pmax.h +++ b/src/m/pmax.h | |||
| @@ -61,11 +61,6 @@ NOTE-END */ | |||
| 61 | #define BROKEN_O_NONBLOCK | 61 | #define BROKEN_O_NONBLOCK |
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | #if defined (OSF1) || defined (MACH) | ||
| 65 | #undef C_ALLOCA | ||
| 66 | #define HAVE_ALLOCA | ||
| 67 | #endif | ||
| 68 | |||
| 69 | #ifndef __NetBSD__ | 64 | #ifndef __NetBSD__ |
| 70 | /* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */ | 65 | /* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */ |
| 71 | #ifdef HAVE_LIBDNET | 66 | #ifdef HAVE_LIBDNET |
diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h index 5511548ee0a..f5f29fe3a0e 100644 --- a/src/m/powerpcle.h +++ b/src/m/powerpcle.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for PowerPC. | 1 | /* machine description file for PowerPC. |
| 2 | Copyright (C) 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -54,14 +54,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 54 | 54 | ||
| 55 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 55 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 56 | 56 | ||
| 57 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 58 | and the one written in C should be used instead. | ||
| 59 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 60 | working alloca function and it should be used. | ||
| 61 | Define neither one if an assembler-language alloca | ||
| 62 | in the file alloca.s should be used. */ | ||
| 63 | |||
| 64 | #define HAVE_ALLOCA | ||
| 65 | #ifndef NOT_C_CODE | 57 | #ifndef NOT_C_CODE |
| 66 | #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ | 58 | #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ |
| 67 | #include <alloca.h> | 59 | #include <alloca.h> |
diff --git a/src/m/pyrmips.h b/src/m/pyrmips.h index 7887f6858d2..1489ddaa664 100644 --- a/src/m/pyrmips.h +++ b/src/m/pyrmips.h | |||
| @@ -4,6 +4,5 @@ | |||
| 4 | #include "m-pyramid.h" | 4 | #include "m-pyramid.h" |
| 5 | 5 | ||
| 6 | #define SYSTEM_MALLOC | 6 | #define SYSTEM_MALLOC |
| 7 | #define HAVE_ALLOCA | ||
| 8 | #define CANNOT_DUMP | 7 | #define CANNOT_DUMP |
| 9 | 8 | ||
diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h index 112638dbbf1..fdf977075c7 100644 --- a/src/m/sequent-ptx.h +++ b/src/m/sequent-ptx.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for SEQUENT machines running DYNIX/ptx | 1 | /* machine description file for SEQUENT machines running DYNIX/ptx |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -84,18 +84,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 84 | 84 | ||
| 85 | /* #define VIRT_ADDR_VARIES */ | 85 | /* #define VIRT_ADDR_VARIES */ |
| 86 | 86 | ||
| 87 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 88 | and the one written in C should be used instead. | ||
| 89 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 90 | working alloca function and it should be used. | ||
| 91 | Define neither one if an assembler-language alloca | ||
| 92 | in the file alloca.s should be used. */ | ||
| 93 | |||
| 94 | #ifndef __GNUC__ | ||
| 95 | #define C_ALLOCA | ||
| 96 | #undef HAVE_ALLOCA | ||
| 97 | #endif | ||
| 98 | |||
| 99 | /* Define NO_REMAP if memory segmentation makes it not work well | 87 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 100 | to change the boundary between the text section and data section | 88 | to change the boundary between the text section and data section |
| 101 | when Emacs is dumped. If you define this, the preloaded Lisp | 89 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/sequent.h b/src/m/sequent.h index 50b585bc75e..2cd06b490d8 100644 --- a/src/m/sequent.h +++ b/src/m/sequent.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for SEQUENT BALANCE machines | 1 | /* machine description file for SEQUENT BALANCE machines |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -100,16 +100,6 @@ NOTE-END */ | |||
| 100 | 100 | ||
| 101 | /* #define VIRT_ADDR_VARIES */ | 101 | /* #define VIRT_ADDR_VARIES */ |
| 102 | 102 | ||
| 103 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 104 | and the one written in C should be used instead. | ||
| 105 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 106 | working alloca function and it should be used. | ||
| 107 | Define neither one if an assembler-language alloca | ||
| 108 | in the file alloca.s should be used. */ | ||
| 109 | |||
| 110 | /* #define C_ALLOCA */ | ||
| 111 | #define HAVE_ALLOCA | ||
| 112 | |||
| 113 | /* Name of file the to look in | 103 | /* Name of file the to look in |
| 114 | for the kernel symbol table (for load average) */ | 104 | for the kernel symbol table (for load average) */ |
| 115 | 105 | ||
diff --git a/src/m/sparc.h b/src/m/sparc.h index 7b708b954b5..5bd16a0b408 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Sun 4 SPARC. | 1 | /* machine description file for Sun 4 SPARC. |
| 2 | Copyright (C) 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -59,14 +59,6 @@ NOTE-END */ | |||
| 59 | 59 | ||
| 60 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 60 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 61 | 61 | ||
| 62 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 63 | and the one written in C should be used instead. | ||
| 64 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 65 | working alloca function and it should be used. | ||
| 66 | Define neither one if an assembler-language alloca | ||
| 67 | in the file alloca.s should be used. */ | ||
| 68 | |||
| 69 | #define HAVE_ALLOCA | ||
| 70 | #ifndef NOT_C_CODE | 62 | #ifndef NOT_C_CODE |
| 71 | #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ | 63 | #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ |
| 72 | #include <alloca.h> | 64 | #include <alloca.h> |
diff --git a/src/m/sr2k.h b/src/m/sr2k.h index e735668679a..7aed1348377 100644 --- a/src/m/sr2k.h +++ b/src/m/sr2k.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Hitachi SR2001/SR2201 machines. | 1 | /* machine description file for Hitachi SR2001/SR2201 machines. |
| 2 | Copyright (C) 1996 Free Software Foundation, Inc. | 2 | Copyright (C) 1996, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -119,16 +119,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 119 | numerically. */ | 119 | numerically. */ |
| 120 | 120 | ||
| 121 | #define VIRT_ADDR_VARIES | 121 | #define VIRT_ADDR_VARIES |
| 122 | |||
| 123 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 124 | and the one written in C should be used instead. | ||
| 125 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 126 | working alloca function and it should be used. | ||
| 127 | Define neither one if an assembler-language alloca | ||
| 128 | in the file alloca.s should be used. */ | ||
| 129 | |||
| 130 | #define C_ALLOCA | ||
| 131 | /* #define HAVE_ALLOCA */ | ||
| 132 | 122 | ||
| 133 | /* the data segment on this machine always starts at address 0x40000000. */ | 123 | /* the data segment on this machine always starts at address 0x40000000. */ |
| 134 | 124 | ||
| @@ -137,8 +127,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 137 | #define DATA_START 0x40000000 | 127 | #define DATA_START 0x40000000 |
| 138 | #define TEXT_START 0x00000000 | 128 | #define TEXT_START 0x00000000 |
| 139 | 129 | ||
| 140 | #define STACK_DIRECTION 1 | ||
| 141 | |||
| 142 | /* Define NO_REMAP if memory segmentation makes it not work well | 130 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 143 | to change the boundary between the text section and data section | 131 | to change the boundary between the text section and data section |
| 144 | when Emacs is dumped. If you define this, the preloaded Lisp | 132 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/symmetry.h b/src/m/symmetry.h index 2cbb820b2d8..74ca6c09c26 100644 --- a/src/m/symmetry.h +++ b/src/m/symmetry.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for SEQUENT SYMMETRY machines | 1 | /* machine description file for SEQUENT SYMMETRY machines |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -44,16 +44,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 44 | #define FSCALE 1000.0 | 44 | #define FSCALE 1000.0 |
| 45 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 45 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 46 | 46 | ||
| 47 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 48 | and the one written in C should be used instead. | ||
| 49 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 50 | working alloca function and it should be used. | ||
| 51 | Define neither one if an assembler-language alloca | ||
| 52 | in the file alloca.s should be used. */ | ||
| 53 | |||
| 54 | /* #define C_ALLOCA */ | ||
| 55 | /*#define HAVE_ALLOCA*/ | ||
| 56 | |||
| 57 | /* Name of file the to look in | 47 | /* Name of file the to look in |
| 58 | for the kernel symbol table (for load average) */ | 48 | for the kernel symbol table (for load average) */ |
| 59 | 49 | ||
diff --git a/src/m/tad68k.h b/src/m/tad68k.h index eddf1456a9a..78b961d2c77 100644 --- a/src/m/tad68k.h +++ b/src/m/tad68k.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines | 1 | /* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -75,17 +75,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 75 | 75 | ||
| 76 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ | 76 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ |
| 77 | 77 | ||
| 78 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 79 | and the one written in C should be used instead. | ||
| 80 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 81 | working alloca function and it should be used. | ||
| 82 | Define neither one if an assembler-language alloca | ||
| 83 | in the file alloca.s should be used. */ | ||
| 84 | |||
| 85 | /* SysV has alloca in the PW library */ | 78 | /* SysV has alloca in the PW library */ |
| 86 | 79 | ||
| 87 | #define LIB_STANDARD -lPW -lc | 80 | #define LIB_STANDARD -lPW -lc |
| 88 | #define HAVE_ALLOCA | ||
| 89 | 81 | ||
| 90 | /* Define NO_REMAP if memory segmentation makes it not work well | 82 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 91 | to change the boundary between the text section and data section | 83 | to change the boundary between the text section and data section |
diff --git a/src/m/tahoe.h b/src/m/tahoe.h index fdb89244dbe..5bef9a1a375 100644 --- a/src/m/tahoe.h +++ b/src/m/tahoe.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for tahoe. | 1 | /* machine description file for tahoe. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -66,7 +66,3 @@ NOTE-END */ | |||
| 66 | /* This triggers some stuff to avoid a compiler bug */ | 66 | /* This triggers some stuff to avoid a compiler bug */ |
| 67 | 67 | ||
| 68 | #define TAHOE_REGISTER_BUG | 68 | #define TAHOE_REGISTER_BUG |
| 69 | |||
| 70 | /* System provides alloca. */ | ||
| 71 | |||
| 72 | #define HAVE_ALLOCA | ||
diff --git a/src/m/targon31.h b/src/m/targon31.h index 16f29cac10b..86211a6e5a4 100644 --- a/src/m/targon31.h +++ b/src/m/targon31.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* targon31 machine description file | 1 | /* targon31 machine description file |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -82,16 +82,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 82 | 82 | ||
| 83 | /* #define VIRT_ADDR_VARIES */ | 83 | /* #define VIRT_ADDR_VARIES */ |
| 84 | 84 | ||
| 85 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 86 | and the one written in C should be used instead. | ||
| 87 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 88 | working alloca function and it should be used. | ||
| 89 | Define neither one if an assembler-language alloca | ||
| 90 | in the file alloca.s should be used. */ | ||
| 91 | |||
| 92 | /* #define C_ALLOCA */ | ||
| 93 | /* #define HAVE_ALLOCA */ | ||
| 94 | |||
| 95 | /* Define NO_REMAP if memory segmentation makes it not work well | 85 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 96 | to change the boundary between the text section and data section | 86 | to change the boundary between the text section and data section |
| 97 | when Emacs is dumped. If you define this, the preloaded Lisp | 87 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/tek4300.h b/src/m/tek4300.h index 30ebbc7d36d..5c88f6ef9bd 100644 --- a/src/m/tek4300.h +++ b/src/m/tek4300.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for tek4300. | 1 | /* machine description file for tek4300. |
| 2 | Copyright (C) 1988 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -64,11 +64,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 64 | 64 | ||
| 65 | #define NO_REMAP | 65 | #define NO_REMAP |
| 66 | 66 | ||
| 67 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 68 | and the one written in C should be used instead. */ | ||
| 69 | |||
| 70 | #define C_ALLOCA | ||
| 71 | |||
| 72 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, */ | 67 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, */ |
| 73 | 68 | ||
| 74 | #define _longjmp longjmp | 69 | #define _longjmp longjmp |
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h index 6f67b509c58..c2551be4782 100644 --- a/src/m/tekxd88.h +++ b/src/m/tekxd88.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Configuration file for the Tektronix XD88 running UTekV 3.2e, | 1 | /* Configuration file for the Tektronix XD88 running UTekV 3.2e, |
| 2 | contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. | 2 | contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. |
| 3 | You probably need to use gnu make (version 3.63 or higher.) | 3 | You probably need to use gnu make (version 3.63 or higher.) |
| 4 | Copyright (C) 1993 Free Software Foundation, Inc. | 4 | Copyright (C) 1993, 2002 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -81,20 +81,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | code will not be sharable; but that's better than failing completely. */ | 81 | code will not be sharable; but that's better than failing completely. */ |
| 82 | #define NO_REMAP | 82 | #define NO_REMAP |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | #ifdef __GNUC__ | 84 | #ifdef __GNUC__ |
| 91 | # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ | 85 | # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ |
| 92 | # define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */ | ||
| 93 | # undef C_ALLOCA | ||
| 94 | #else /* not __GNUC__ */ | 86 | #else /* not __GNUC__ */ |
| 95 | # undef HAVE_ALLOCA | ||
| 96 | # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ | ||
| 97 | # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ | ||
| 98 | # define C_OPTIMIZE_SWITCH -O | 87 | # define C_OPTIMIZE_SWITCH -O |
| 99 | #endif /* __GNUC__ */ | 88 | #endif /* __GNUC__ */ |
| 100 | 89 | ||
diff --git a/src/m/template.h b/src/m/template.h index b6a31d2e18a..7683cbfba6e 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -79,16 +79,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 79 | 79 | ||
| 80 | #define VIRT_ADDR_VARIES | 80 | #define VIRT_ADDR_VARIES |
| 81 | 81 | ||
| 82 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 83 | and the one written in C should be used instead. | ||
| 84 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 85 | working alloca function and it should be used. | ||
| 86 | Define neither one if an assembler-language alloca | ||
| 87 | in the file alloca.s should be used. */ | ||
| 88 | |||
| 89 | #define C_ALLOCA | ||
| 90 | #define HAVE_ALLOCA | ||
| 91 | |||
| 92 | /* Define NO_REMAP if memory segmentation makes it not work well | 82 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 93 | to change the boundary between the text section and data section | 83 | to change the boundary between the text section and data section |
| 94 | when Emacs is dumped. If you define this, the preloaded Lisp | 84 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/tower32.h b/src/m/tower32.h index 31ed5c0da52..9dbb0dc6b6e 100644 --- a/src/m/tower32.h +++ b/src/m/tower32.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the NCR Tower 32 running System V.2. | 1 | /* machine description file for the NCR Tower 32 running System V.2. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -80,16 +80,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 80 | 80 | ||
| 81 | /* #define VIRT_ADDR_VARIES */ | 81 | /* #define VIRT_ADDR_VARIES */ |
| 82 | 82 | ||
| 83 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 84 | and the one written in C should be used instead. | ||
| 85 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 86 | working alloca function and it should be used. | ||
| 87 | Define neither one if an assembler-language alloca | ||
| 88 | in the file alloca.s should be used. */ | ||
| 89 | |||
| 90 | /* #define C_ALLOCA */ | ||
| 91 | #define HAVE_ALLOCA | ||
| 92 | |||
| 93 | /* Change some things to avoid bugs in compiler */ | 83 | /* Change some things to avoid bugs in compiler */ |
| 94 | 84 | ||
| 95 | #define SWITCH_ENUM_BUG 1 | 85 | #define SWITCH_ENUM_BUG 1 |
diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h index d85d631b1bb..c7406f38080 100644 --- a/src/m/tower32v3.h +++ b/src/m/tower32v3.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the NCR Tower 32 running System V.3. | 1 | /* machine description file for the NCR Tower 32 running System V.3. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -81,27 +81,16 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | 81 | ||
| 82 | /* #define VIRT_ADDR_VARIES */ | 82 | /* #define VIRT_ADDR_VARIES */ |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | |||
| 91 | #ifdef __GNUC__ | 84 | #ifdef __GNUC__ |
| 92 | #define HAVE_ALLOCA | ||
| 93 | #define alloca __builtin_alloca | 85 | #define alloca __builtin_alloca |
| 94 | #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer | 86 | #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer |
| 95 | #define LIB_STANDARD -lc /lib/crtn.o | 87 | #define LIB_STANDARD -lc /lib/crtn.o |
| 96 | #else | 88 | #else |
| 97 | /* This section is correct if you do *not* change src/ymakefile so that | 89 | /* This section is correct if you do *not* change src/ymakefile so that |
| 98 | CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */ | 90 | CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */ |
| 99 | #define HAVE_ALLOCA | ||
| 100 | #define C_DEBUG_SWITCH -g -O0 | 91 | #define C_DEBUG_SWITCH -g -O0 |
| 101 | #define LIB_STANDARD -lc -lPW /lib/crtn.o | 92 | #define LIB_STANDARD -lc -lPW /lib/crtn.o |
| 102 | /* This section is correct if you do enable C_OPTIMIZE_SWITCH. */ | 93 | /* This section is correct if you do enable C_OPTIMIZE_SWITCH. */ |
| 103 | /* #define C_ALLOCA */ | ||
| 104 | /* #define STACK_DIRECTION -1 */ | ||
| 105 | /* #define C_OPTIMIZE_SWITCH -O2 */ | 94 | /* #define C_OPTIMIZE_SWITCH -O2 */ |
| 106 | /* #define LIB_STANDARD -lc /lib/crtn.o */ | 95 | /* #define LIB_STANDARD -lc /lib/crtn.o */ |
| 107 | #endif | 96 | #endif |
diff --git a/src/m/ustation.h b/src/m/ustation.h index 70a9945dd7e..9e8c26a17da 100644 --- a/src/m/ustation.h +++ b/src/m/ustation.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). | 1 | /* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). |
| 2 | Copyright (C) 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1999, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -82,21 +82,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 82 | 82 | ||
| 83 | #undef VIRT_ADDR_VARIES | 83 | #undef VIRT_ADDR_VARIES |
| 84 | 84 | ||
| 85 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 86 | and the one written in C should be used instead. | ||
| 87 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 88 | working alloca function and it should be used. | ||
| 89 | Define neither one if an assembler-language alloca | ||
| 90 | in the file alloca.s should be used. */ | ||
| 91 | |||
| 92 | /* On return from a subroutine, the 68020 compiler restores old contents of | ||
| 93 | register variables relative to sp, so alloca() screws up such routines. | ||
| 94 | The following definitions should work on all Masscomps. On the MC-5500 | ||
| 95 | (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */ | ||
| 96 | |||
| 97 | #define C_ALLOCA | ||
| 98 | #undef HAVE_ALLOCA | ||
| 99 | |||
| 100 | /* Define NO_REMAP if memory segmentation makes it not work well | 85 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 101 | to change the boundary between the text section and data section | 86 | to change the boundary between the text section and data section |
| 102 | when Emacs is dumped. If you define this, the preloaded Lisp | 87 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/vax.h b/src/m/vax.h index 99d06d1c0d9..86ca420f2e4 100644 --- a/src/m/vax.h +++ b/src/m/vax.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for vax. | 1 | /* machine description file for vax. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -100,7 +100,6 @@ NOTE-END */ | |||
| 100 | 100 | ||
| 101 | #ifdef USG | 101 | #ifdef USG |
| 102 | #define LIB_STANDARD -lPW -lc | 102 | #define LIB_STANDARD -lPW -lc |
| 103 | #define HAVE_ALLOCA | ||
| 104 | 103 | ||
| 105 | /* There is some bug in unexec in for usg 5.2 on a vax | 104 | /* There is some bug in unexec in for usg 5.2 on a vax |
| 106 | which nobody who runs such a system has yet tracked down. */ | 105 | which nobody who runs such a system has yet tracked down. */ |
| @@ -111,14 +110,6 @@ NOTE-END */ | |||
| 111 | #define TEXT_START 0 | 110 | #define TEXT_START 0 |
| 112 | #endif /* USG */ | 111 | #endif /* USG */ |
| 113 | 112 | ||
| 114 | #ifdef BSD_SYSTEM | ||
| 115 | #define HAVE_ALLOCA | ||
| 116 | #endif /* BSD_SYSTEM */ | ||
| 117 | |||
| 118 | #ifdef VMS | ||
| 119 | #define C_ALLOCA | ||
| 120 | #endif | ||
| 121 | |||
| 122 | #ifdef BSD4_2 | 113 | #ifdef BSD4_2 |
| 123 | #define HAVE_FTIME | 114 | #define HAVE_FTIME |
| 124 | #endif | 115 | #endif |
diff --git a/src/m/wicat.h b/src/m/wicat.h index 395ebe2e255..b361418c8d8 100644 --- a/src/m/wicat.h +++ b/src/m/wicat.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for WICAT machines. | 1 | /* machine description file for WICAT machines. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -80,18 +80,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 80 | 80 | ||
| 81 | #undef VIRT_ADDR_VARIES | 81 | #undef VIRT_ADDR_VARIES |
| 82 | 82 | ||
| 83 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 84 | and the one written in C should be used instead. | ||
| 85 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 86 | working alloca function and it should be used. | ||
| 87 | Define neither one if an assembler-language alloca | ||
| 88 | in the file alloca.s should be used. */ | ||
| 89 | |||
| 90 | /* For the Wicat C compiler version 4.2, this can be removed | ||
| 91 | and the alloca in alloca.s used. */ | ||
| 92 | #define C_ALLOCA | ||
| 93 | #define STACK_DIRECTION -1 /* grows towards lower addresses on WICAT */ | ||
| 94 | |||
| 95 | /* Define NO_REMAP if memory segmentation makes it not work well | 83 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 96 | to change the boundary between the text section and data section | 84 | to change the boundary between the text section and data section |
| 97 | when Emacs is dumped. If you define this, the preloaded Lisp | 85 | when Emacs is dumped. If you define this, the preloaded Lisp |
diff --git a/src/m/windowsnt.h b/src/m/windowsnt.h index 64206889251..5a3e16ddad1 100644 --- a/src/m/windowsnt.h +++ b/src/m/windowsnt.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Machine description file for Windows NT. | 1 | /* Machine description file for Windows NT. |
| 2 | 2 | ||
| 3 | Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 3 | Copyright (C) 1993, 1994, 2002 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -87,16 +87,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 87 | /* Text does precede data space, but this is never a safe assumption. */ | 87 | /* Text does precede data space, but this is never a safe assumption. */ |
| 88 | #define VIRT_ADDR_VARIES | 88 | #define VIRT_ADDR_VARIES |
| 89 | 89 | ||
| 90 | /* Define C_ALLOCA if this machine does not support a true alloca | 90 | /* For alloca. */ |
| 91 | and the one written in C should be used instead. | ||
| 92 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 93 | working alloca function and it should be used. | ||
| 94 | Define neither one if an assembler-language alloca | ||
| 95 | in the file alloca.s should be used. */ | ||
| 96 | |||
| 97 | /* #define C_ALLOCA */ | ||
| 98 | #include <malloc.h> | 91 | #include <malloc.h> |
| 99 | #define HAVE_ALLOCA | ||
| 100 | 92 | ||
| 101 | /* Define NO_REMAP if memory segmentation makes it not work well | 93 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 102 | to change the boundary between the text section and data section | 94 | to change the boundary between the text section and data section |
diff --git a/src/m/xps100.h b/src/m/xps100.h index e712d154030..499182d5509 100644 --- a/src/m/xps100.h +++ b/src/m/xps100.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* xps100.h for the Honeywell XPS100 running UNIX System V.2 | 1 | /* xps100.h for the Honeywell XPS100 running UNIX System V.2 |
| 2 | Mark J. Hewitt (mjh@uk.co.kernel) | 2 | Mark J. Hewitt (mjh@uk.co.kernel) |
| 3 | 3 | ||
| 4 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -81,23 +81,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | 81 | ||
| 82 | /* #define VIRT_ADDR_VARIES */ | 82 | /* #define VIRT_ADDR_VARIES */ |
| 83 | 83 | ||
| 84 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 85 | and the one written in C should be used instead. | ||
| 86 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 87 | working alloca function and it should be used. | ||
| 88 | Define neither one if an assembler-language alloca | ||
| 89 | in the file alloca.s should be used. */ | ||
| 90 | |||
| 91 | #define C_ALLOCA | ||
| 92 | /* #define HAVE_ALLOCA */ | ||
| 93 | |||
| 94 | /* Define NO_REMAP if memory segmentation makes it not work well | 84 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 95 | to change the boundary between the text section and data section | 85 | to change the boundary between the text section and data section |
| 96 | when Emacs is dumped. If you define this, the preloaded Lisp | 86 | when Emacs is dumped. If you define this, the preloaded Lisp |
| 97 | code will not be sharable; but that's better than failing completely. */ | 87 | code will not be sharable; but that's better than failing completely. */ |
| 98 | 88 | ||
| 99 | #define NO_REMAP | 89 | #define NO_REMAP |
| 100 | #define STACK_DIRECTION -1 | ||
| 101 | #define TERMINFO | 90 | #define TERMINFO |
| 102 | #define SWITCH_ENUM_BUG | 91 | #define SWITCH_ENUM_BUG |
| 103 | #define LIB_STANDARD -lc | 92 | #define LIB_STANDARD -lc |