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 Elxsi machine (running enix).
Copyright (C) 1986, 1992 Free Software Foundation, Inc.
Copyright (C) 1986, 1992, 2002 Free Software Foundation, Inc.
Adapted by John Salmon
This file is part of GNU Emacs.
......@@ -96,16 +96,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
/*#define HAVE_ALLOCA */
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for gec63
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -38,7 +38,6 @@ Boston, MA 02111-1307, USA. */
/* GEC63 has alloca in the PW/ux63 library. */
#define LIB_STANDARD -lPW -lc
#define HAVE_ALLOCA
/* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
since there is no /dev/kmem */
......
......@@ -5,7 +5,7 @@
* RELEASE2_1 in config.h. This may also be necessary with un-updated
* official releases of 2.1
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -110,16 +110,6 @@ NOTE-END */
#define VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
#define STACK_DIRECTION -1 /* grows towards lower addresses on Gould UTX/32 */
/* No need to extend the user stack. */
/* If this is a 2.1 system, COFF will be predefined by cpp. If it's */
......
/* machine description file for hp9000 series 800 machines.
Copyright (C) 1987 Free Software Foundation, Inc.
Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -102,8 +102,6 @@ Boston, MA 02111-1307, USA. */
#undef CANNOT_DUMP
#define STACK_DIRECTION 1
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......@@ -117,8 +115,6 @@ Boston, MA 02111-1307, USA. */
#ifdef GNU_LINUX
#define HAVE_ALLOCA
/* Data type of load average, as read out of kmem. */
#define LOAD_AVE_TYPE long
......@@ -141,16 +137,6 @@ Boston, MA 02111-1307, USA. */
numerically. */
#define VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
/* #define HAVE_ALLOCA */
/* the data segment on this machine always starts at address 0x40000000. */
......
/* machine description file for hp9000 series 200 or 300 on either HPUX or BSD.
Copyright (C) 1985 Free Software Foundation, Inc.
Copyright (C) 1985, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -120,8 +120,6 @@ NOTE-END */
#define CRT0_DUMMIES bogus_a6,
#define HAVE_ALLOCA
#ifndef __GNUC__
#define LIBS_DEBUG /* don't have -lg that works */
#define C_DEBUG_SWITCH /* don't support -g */
......@@ -150,10 +148,6 @@ NOTE-END */
#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
#ifdef __GNUC__
#define HAVE_ALLOCA
#endif
/* This library is needed with -g, on the 200/300 only. */
#if !defined(__GNUC__) || defined(__HPUX_ASM__)
......
/* machine description file for i860.
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
/* #define HAVE_ALLOCA */
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for the IA-64 architecture.
Copyright (C) 2000 Free Software Foundation, Inc.
Copyright (C) 2000, 2002 Free Software Foundation, Inc.
Contributed by David Mosberger <davidm@hpl.hp.com>
This file is part of GNU Emacs.
......@@ -87,15 +87,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define HAVE_ALLOCA
/* Define the following if GNU malloc and the relocating allocator do
not work together with X. */
......
/* machine description file for ibm ps/2 aix386.
Copyright (C) 1989 Free Software Foundation, Inc.
Copyright (C) 1989, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -187,15 +187,7 @@ so disable it for them. */
/* Here override various assumptions in ymakefile */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#ifdef __GNUC__
#define HAVE_ALLOCA
#define alloca(n) __builtin_alloca(n)
#if __GNUC__ < 2
#define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc
......@@ -204,8 +196,6 @@ so disable it for them. */
/* tranle says that -fstrength-reduce does not help. */
#define C_DEBUG_SWITCH
#else
#define C_ALLOCA
#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
#define LIBS_MACHINE -lbsd -lrts
#endif
......
/* R2 AIX machine/system dependent defines
Copyright (C) 1988 Free Software Foundation, Inc.
Copyright (C) 1988, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -101,19 +101,6 @@ Boston, MA 02111-1307, USA. */
#undef ADDR_CORRECT
#define ADDR_CORRECT(x) ((int)(x))
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* Note: aix3-2.h defines HAVE_ALLOCA; aix3-1.h doesn't. */
#ifndef HAVE_ALLOCA
#define C_ALLOCA
#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
#endif
/* Specify the font for X to use.
This used to be Rom14.500; that's nice on the X server shipped with
the RS/6000, but it's not available on other servers. */
......
/* RTPC AIX machine/system dependent defines
Copyright (C) 1988, 1999 Free Software Foundation, Inc.
Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -86,16 +86,6 @@ Boston, MA 02111-1307, USA. */
#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define C_ALLOCA
#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
/* AIX has PTYs, so define here, along with macros needed to make them work. */
#define HAVE_PTYS
......
/* RTPC machine dependent defines
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -79,15 +79,6 @@ Boston, MA 02111-1307, USA. */
numerically. */
#undef VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define HAVE_ALLOCA
/* The data segment in this machine starts at a fixed address.
An address of data cannot be stored correctly in a Lisp object;
......
/* machine description file template.
Copyright (C) 1985, 1986, 2001 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -81,16 +81,6 @@ Boston, MA 02111-1307, USA. */
#define VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */
#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* Machine description file for intel 386.
Copyright (C) 1987 Free Software Foundation, Inc.
Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -166,8 +166,6 @@ NOTE-END */
#define NO_REMAP
#define STACK_DIRECTION -1
/* Since cannot purify, use standard Xenix 386 startup code. */
#define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o
......@@ -192,25 +190,14 @@ NOTE-END */
#endif /* not USG5_4 */
#endif /* LIB_STANDARD */
/* Paul Abrahams <abrahams@acm.org> says that
Unixware does not have alloca when using cc. */
#if ! (defined (USG5_4) && ! defined (SOLARIS2) && ! defined (__GNUC__))
#define HAVE_ALLOCA
#endif
#define NO_REMAP
#define TEXT_START 0
#endif /* USG */
#endif /* not XENIX */
#ifdef BSD_SYSTEM
#define HAVE_ALLOCA
#endif /* BSD_SYSTEM */
/* If compiling with GCC, let GCC implement alloca. */
#if defined(__GNUC__) && !defined(alloca)
#define alloca(n) __builtin_alloca(n)
#define HAVE_ALLOCA
#endif
#ifdef USG5_4
......@@ -225,7 +212,6 @@ NOTE-END */
#define VIRT_ADDR_VARIES
#define DATA_END get_data_end ()
#define DATA_START get_data_start ()
#define HAVE_ALLOCA
#define NO_ARG_ARRAY
#endif
......
/* machine description file for Iris-4D machines. Use with s/irix*.h.
Copyright (C) 1987 Free Software Foundation, Inc.
Copyright (C) 1987, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -91,16 +91,6 @@ Boston, MA 02111-1307, USA. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */ /* Sjoerd.Mullender@cwi.nl says no need. */
/* #define HAVE_ALLOCA */
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......@@ -168,11 +158,6 @@ Boston, MA 02111-1307, USA. */
#undef FIRST_PTY_LETTER
#define FIRST_PTY_LETTER 'q'
/* Define STACK_DIRECTION for alloca.c */
#undef STACK_DIRECTION
#define STACK_DIRECTION -1
#ifndef _LP64
/* The standard definitions of these macros would work ok,
......
/* machine description file for Silicon Graphics Iris 2500 Turbos;
also possibly for non-turbo Irises with system release 2.5.
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -49,7 +49,7 @@ NOTE-END */
/* Eric - May 4, 1987 */
report_file_error ("Worked just find\n", Qnil);
Without any sort of debugger that works on emacs (I know... but I don't have
Without any sort of debugger that works on emacs (I know... but I dont have
*time* right now to start with gdb), it was quite time consuming to track
it down to this.
......@@ -118,16 +118,6 @@ NOTE-END */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */
#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for ISI 68000's
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -83,7 +83,6 @@ NOTE-END */
/* A few changes for the newer systems. */
#ifdef BSD4_3
#define HAVE_ALLOCA
/* The following line affects crt0.c. */
#undef m68k
......
/* Machine description file for generic Motorola 68k.
Copyright (C) 1985, 1995 Free Software Foundation, Inc.
Copyright (C) 1985, 1995, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -85,5 +85,4 @@ Boston, MA 02111-1307, USA. */
/* If compiling with GCC, let GCC implement alloca. */
#if defined(__GNUC__) && !defined(alloca)
#define alloca(n) __builtin_alloca(n)
#define HAVE_ALLOCA
#endif
/* machine description file For the powerpc Macintosh.
Copyright (C) 1994, 2001 Free Software Foundation, Inc.
Copyright (C) 1994, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -51,15 +51,6 @@ Boston, MA 02111-1307, USA. */
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#define HAVE_ALLOCA
/* Some really obscure 4.2-based systems (like Sequent DYNIX)
* do not support asynchronous I/O (using SIGIO) on sockets,
* even though it works fine on tty's. If you have one of
......
/* machine description file for Masscomp 5000 series running RTU, ucb universe.
Copyright (C) 1986 Free Software Foundation, Inc.
Copyright (C) 1986, 2002 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -81,25 +81,6 @@ Boston, MA 02111-1307, USA. */
#undef VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* On return from a subroutine, the 68020 compiler restores old contents of
register variables relative to sp, so alloca() screws up such routines.
The following definitions should work on all Masscomps. On the MC-5500
(a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */
#ifdef mc500
#undef C_ALLOCA
#define HAVE_ALLOCA
#else
#define C_ALLOCA
#undef HAVE_ALLOCA
#endif
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
/* machine description file for Whitechapel Computer Works MG1 (ns16000 based).
Copyright (C) 1985 Free Software Foundation, Inc.
Copyright (C) 1985, 2002 Free Software Foundation, Inc.
MG-1 version by L.M.McLoughlin
This file is part of GNU Emacs.
......@@ -92,16 +92,6 @@ NOTE-END */
/* hmmmm... not sure. copied sequent.h */
#undef VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* hmmmm... again not sure. so copied sequent.h again! */
#undef C_ALLOCA
#undef HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
......
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