From 824e29787c63227dd35f3421698fc6c0437e2a59 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 2 Jun 2010 22:35:54 -0700 Subject: [PATCH] HAVE_ALLOCA not needed since alloca.s was removed. * src/m/hp800.h (HAVE_ALLOCA): * src/m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed. * msdos/sed2v2.inp: Do not edit HAVE_ALLOCA. * admin/CPP-DEFINES: Remove HAVE_ALLOCA. --- admin/CPP-DEFINES | 1 - msdos/ChangeLog | 4 ++++ msdos/sed2v2.inp | 1 - src/ChangeLog | 3 +++ src/m/hp800.h | 1 - src/m/ibms390x.h | 5 ----- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index d3fddbc4526..dfe731415c7 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -131,7 +131,6 @@ GNU_LIBRARY_PENDING_OUTPUT_COUNT GNU_LINUX GNU_MALLOC HAVE_AIX_SMT_EXP -HAVE_ALLOCA HAVE_BCMP HAVE_BCOPY HAVE_CBRT diff --git a/msdos/ChangeLog b/msdos/ChangeLog index b868d714295..66fe139ca1f 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog @@ -1,3 +1,7 @@ +2010-06-03 Glenn Morris + + * sed2v2.inp: Do not edit HAVE_ALLOCA. + 2010-05-26 Glenn Morris * sed1v2.inp (@PRE_EDIT_LDFLAGS@, @POST_EDIT_LDFLAGS@): Edit to nothing. diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp index ab088cf2724..0bec8733be7 100644 --- a/msdos/sed2v2.inp +++ b/msdos/sed2v2.inp @@ -27,7 +27,6 @@ #define NSIG 320\ #endif -/^#undef HAVE_ALLOCA *$/s/^.*$/#define HAVE_ALLOCA 1/ /^#undef HAVE_SETITIMER *$/s/^.*$/#define HAVE_SETITIMER 1/ /^#undef HAVE_STRUCT_UTIMBUF *$/s/^.*$/#define HAVE_STRUCT_UTIMBUF 1/ /^#undef LOCALTIME_CACHE *$/s/^.*$/#define LOCALTIME_CACHE 1/ diff --git a/src/ChangeLog b/src/ChangeLog index 24a7dc7de0b..c8657265dab 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-06-03 Glenn Morris + * m/hp800.h (HAVE_ALLOCA): + * m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed. + * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h: Remove NOT_C_CODE tests, it is always true now. diff --git a/src/m/hp800.h b/src/m/hp800.h index 9bc361e3cc4..fe44fd3da8d 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h @@ -33,7 +33,6 @@ along with GNU Emacs. If not, see . */ #ifdef __NetBSD__ # ifdef __GNUC__ # define alloca __builtin_alloca -# define HAVE_ALLOCA # endif /* __GNUC__ */ #endif /* __NetBSD__ */ diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index d6aa0c713c6..07284585597 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h @@ -54,11 +54,6 @@ along with GNU Emacs. If not, see . */ numerically. */ #define VIRT_ADDR_VARIES -/* Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. Undefine it if an - assembler-language alloca in the file alloca.s should be used. */ -#define HAVE_ALLOCA - /* On the 64 bit architecture, we can use 60 bits for addresses */ #define VALBITS 60 -- 2.39.2