Commit d8f6d720 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.

parent 4c87c733
/* machine description file for tahoe.
Copyright (C) 1985 Free Software Foundation, Inc.
Copyright (C) 1985, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -66,7 +66,3 @@ NOTE-END */
/* This triggers some stuff to avoid a compiler bug */
#define TAHOE_REGISTER_BUG
/* System provides alloca. */
#define HAVE_ALLOCA
/* targon31 machine description file
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -82,16 +82,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */
/* #define HAVE_ALLOCA */
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for tek4300.
Copyright (C) 1988 Free Software Foundation, Inc.
Copyright (C) 1988, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -64,11 +64,6 @@ Boston, MA 02111-1307, USA. */
#define NO_REMAP
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead. */
#define C_ALLOCA
/* setjmp and longjmp can safely replace _setjmp and _longjmp, */
#define _longjmp longjmp
......
/* Configuration file for the Tektronix XD88 running UTekV 3.2e,
contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93.
You probably need to use gnu make (version 3.63 or higher.)
Copyright (C) 1993 Free Software Foundation, Inc.
Copyright (C) 1993, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -81,20 +81,9 @@ Boston, MA 02111-1307, USA. */
code will not be sharable; but that's better than failing completely. */
#define NO_REMAP
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#ifdef __GNUC__
# define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */
# define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */
# undef C_ALLOCA
#else /* not __GNUC__ */
# undef HAVE_ALLOCA
# define C_ALLOCA /* Use the alloca() supplied in alloca.c. */
# define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */
# define C_OPTIMIZE_SWITCH -O
#endif /* __GNUC__ */
......
/* machine description file template.
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -79,16 +79,6 @@ Boston, MA 02111-1307, USA. */
#define VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for the NCR Tower 32 running System V.2.
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -80,16 +80,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */
#define HAVE_ALLOCA
/* Change some things to avoid bugs in compiler */
#define SWITCH_ENUM_BUG 1
......
/* machine description file for the NCR Tower 32 running System V.3.
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -81,27 +81,16 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#ifdef __GNUC__
#define HAVE_ALLOCA
#define alloca __builtin_alloca
#define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer
#define LIB_STANDARD -lc /lib/crtn.o
#else
/* This section is correct if you do *not* change src/ymakefile so that
CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */
#define HAVE_ALLOCA
#define C_DEBUG_SWITCH -g -O0
#define LIB_STANDARD -lc -lPW /lib/crtn.o
/* This section is correct if you do enable C_OPTIMIZE_SWITCH. */
/* #define C_ALLOCA */
/* #define STACK_DIRECTION -1 */
/* #define C_OPTIMIZE_SWITCH -O2 */
/* #define LIB_STANDARD -lc /lib/crtn.o */
#endif
......
/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30).
Copyright (C) 1986, 1999 Free Software Foundation, Inc.
Copyright (C) 1986, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -82,21 +82,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* On return from a subroutine, the 68020 compiler restores old contents of
register variables relative to sp, so alloca() screws up such routines.
The following definitions should work on all Masscomps. On the MC-5500
(a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */
#define C_ALLOCA
#undef HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for vax.
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -100,7 +100,6 @@ NOTE-END */
#ifdef USG
#define LIB_STANDARD -lPW -lc
#define HAVE_ALLOCA
/* There is some bug in unexec in for usg 5.2 on a vax
which nobody who runs such a system has yet tracked down. */
......@@ -111,14 +110,6 @@ NOTE-END */
#define TEXT_START 0
#endif /* USG */
#ifdef BSD_SYSTEM
#define HAVE_ALLOCA
#endif /* BSD_SYSTEM */
#ifdef VMS
#define C_ALLOCA
#endif
#ifdef BSD4_2
#define HAVE_FTIME
#endif
/* machine description file for WICAT machines.
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -80,18 +80,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* For the Wicat C compiler version 4.2, this can be removed
and the alloca in alloca.s used. */
#define C_ALLOCA
#define STACK_DIRECTION -1 /* grows towards lower addresses on WICAT */
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* Machine description file for Windows NT.
Copyright (C) 1993, 1994 Free Software Foundation, Inc.
Copyright (C) 1993, 1994, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -87,16 +87,8 @@ Boston, MA 02111-1307, USA. */
/* Text does precede data space, but this is never a safe assumption. */
#define VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */
/* For alloca. */
#include <malloc.h>
#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
......
/* xps100.h for the Honeywell XPS100 running UNIX System V.2
Mark J. Hewitt (mjh@uk.co.kernel)
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -81,23 +81,12 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
/* #define HAVE_ALLOCA */
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
code will not be sharable; but that's better than failing completely. */
#define NO_REMAP
#define STACK_DIRECTION -1
#define TERMINFO
#define SWITCH_ENUM_BUG
#define LIB_STANDARD -lc
......
......@@ -15,7 +15,6 @@
#define C_SWITCH_SYSTEM -ma -qmaxmem=4000
#endif
#define HAVE_ALLOCA
/* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
#ifndef NOT_C_CODE
#ifndef AIX4
......
/* AIX 4.2 is missing alloca. */
#include "aix4-1.h"
#undef ALIGN_DATA_RELOC
#ifndef __GNUC__
#undef HAVE_ALLOCA
#endif
......@@ -5,7 +5,6 @@
/* XPointer is not defined in the older X headers -- JPff@maths.bath.ac.uk */
#define XPointer caddr_t
#define HAVE_ALLOCA
#ifndef NOT_C_CODE
#include <alloca.h>
#endif
......
......@@ -29,11 +29,6 @@
/* Make process_send_signal work by "typing" a signal character on the pty. */
#define SIGNALS_VIA_CHARACTERS
/* Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used. */
#define HAVE_ALLOCA
#undef C_ALLOCA
#ifndef NOT_C_CODE
#ifndef __GNUC__
#include <alloca.h>
......
/* System description file for SCO 3.2v5.
Copyright (C) 1996 Free Software Foundation, Inc.
Copyright (C) 1996, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -162,9 +162,6 @@ extern SIGMASKTYPE sigprocmask_set;
#define LD_SWITCH_SYSTEM -belf
#endif
/* SCO has a working alloca in libPW */
#define HAVE_ALLOCA
/* Don't disable static function, as SCO's header files have some.*/
#undef static
......
#include "usg5-4-2.h"
#ifndef __GNUC__
#undef HAVE_ALLOCA
#define C_ALLOCA
#endif
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment