linux.h (STACK_BOUNDARY): Define as 64 for glibc2.

* i386/linux.h (STACK_BOUNDARY): Define as 64 for glibc2.
        * i386/gnu.h (STACK_BOUNDARY): Define as 64.

From-SVN: r17063
This commit is contained in:
Dave Love 1997-12-12 06:55:33 +00:00 committed by Jeff Law
parent 7567d496ec
commit 09fb2c774b
3 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,8 @@
1997-11-13 Dave Love <d.love@dl.ac.uk>
* i386/linux.h (STACK_BOUNDARY): Define as 64 for glibc2.
* i386/gnu.h (STACK_BOUNDARY): Define as 64.
Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
* fixincludes (str{len,spn,cspn} return value): Handle different

View file

@ -3,6 +3,9 @@
/* This does it mostly for us. */
#include <i386/linux.h>
#undef STACK_BOUNDARY
#define STACK_BOUNDARY 64 /* glibc2's crt ensures this */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386")

View file

@ -1,4 +1,4 @@
/* Definitions for Intel 386 running Linux with ELF format
/* Definitions for Intel 386 running Linux-based GNU systems with ELF format.
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu.
@ -30,13 +30,19 @@ Boston, MA 02111-1307, USA. */
#include <linux.h> /* some common stuff */
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 Linux/ELF)");
#define TARGET_VERSION fprintf (stderr, " (i386 GNU/Linux with ELF)");
/* The svr4 ABI for the i386 says that records and unions are returned
in memory. */
#undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 1
#ifndef USE_GNULIBC_1
#undef STACK_BOUNDARY
#define STACK_BOUNDARY 64 /* glibc2's crt ensures this, libc5
only gives you 32 */
#endif
/* This is how to output an element of a case-vector that is relative.
This is only used for PIC code. See comments by the `casesi' insn in
i386.md for an explanation of the expression this outputs. */
@ -160,7 +166,7 @@ Boston, MA 02111-1307, USA. */
#undef CC1_SPEC
#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
/* Provide a LINK_SPEC appropriate for Linux. Here we provide support
/* Provide a LINK_SPEC appropriate for GNU/Linux. Here we provide support
for the special GCC options -static and -shared, which allow us to
link things in one of these three modes by applying the appropriate
combinations of options at link-time. We like to support here for