diff options
| author | Dave Love | 2002-11-18 16:44:04 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-18 16:44:04 +0000 |
| commit | e0db4f149c76d0c1e9d838c516ffad12a2f9c4f8 (patch) | |
| tree | e6cfcc8505342ac6dc2da05a4e3678cd009b6ad2 /src | |
| parent | dee8ab28ac52f3d4c0bae527614fb5fa7122054d (diff) | |
| download | emacs-e0db4f149c76d0c1e9d838c516ffad12a2f9c4f8.tar.gz emacs-e0db4f149c76d0c1e9d838c516ffad12a2f9c4f8.zip | |
Don't define alloca.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/arm.h | 7 | ||||
| -rw-r--r-- | src/m/tekxd88.h | 4 | ||||
| -rw-r--r-- | src/m/tower32v3.h | 1 |
3 files changed, 1 insertions, 11 deletions
diff --git a/src/m/arm.h b/src/m/arm.h index ad22303eeec..4dafe6819fa 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -47,11 +47,4 @@ Boston, MA 02111-1307, USA. */ | |||
| 47 | 47 | ||
| 48 | #define NO_UNION_TYPE | 48 | #define NO_UNION_TYPE |
| 49 | 49 | ||
| 50 | #ifdef __GNUC__ | ||
| 51 | |||
| 52 | /* Use builtin alloca. Also be sure that no other ones are tried out. */ | ||
| 53 | #define alloca __builtin_alloca | ||
| 54 | |||
| 55 | #endif /* __GNUC__ */ | ||
| 56 | |||
| 57 | #define NO_REMAP | 50 | #define NO_REMAP |
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h index c2551be4782..cc2439d0a92 100644 --- a/src/m/tekxd88.h +++ b/src/m/tekxd88.h | |||
| @@ -81,9 +81,7 @@ 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 | #ifdef __GNUC__ | 84 | #ifndef __GNUC__ |
| 85 | # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ | ||
| 86 | #else /* not __GNUC__ */ | ||
| 87 | # define C_OPTIMIZE_SWITCH -O | 85 | # define C_OPTIMIZE_SWITCH -O |
| 88 | #endif /* __GNUC__ */ | 86 | #endif /* __GNUC__ */ |
| 89 | 87 | ||
diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h index c7406f38080..dbbafcd19cd 100644 --- a/src/m/tower32v3.h +++ b/src/m/tower32v3.h | |||
| @@ -82,7 +82,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 82 | /* #define VIRT_ADDR_VARIES */ | 82 | /* #define VIRT_ADDR_VARIES */ |
| 83 | 83 | ||
| 84 | #ifdef __GNUC__ | 84 | #ifdef __GNUC__ |
| 85 | #define alloca __builtin_alloca | ||
| 86 | #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer | 85 | #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer |
| 87 | #define LIB_STANDARD -lc /lib/crtn.o | 86 | #define LIB_STANDARD -lc /lib/crtn.o |
| 88 | #else | 87 | #else |