Commit 09fb2c77 by Dave Love Committed by Jeff Law

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
parent 7567d496
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> Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
* fixincludes (str{len,spn,cspn} return value): Handle different * fixincludes (str{len,spn,cspn} return value): Handle different
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
/* This does it mostly for us. */ /* This does it mostly for us. */
#include <i386/linux.h> #include <i386/linux.h>
#undef STACK_BOUNDARY
#define STACK_BOUNDARY 64 /* glibc2's crt ensures this */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386") #define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386")
......
/* 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. Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Contributed by Eric Youngdale. Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu. Modified for stabs-in-ELF by H.J. Lu.
...@@ -30,13 +30,19 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,13 +30,19 @@ Boston, MA 02111-1307, USA. */
#include <linux.h> /* some common stuff */ #include <linux.h> /* some common stuff */
#undef TARGET_VERSION #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 /* The svr4 ABI for the i386 says that records and unions are returned
in memory. */ in memory. */
#undef DEFAULT_PCC_STRUCT_RETURN #undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 1 #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 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 This is only used for PIC code. See comments by the `casesi' insn in
i386.md for an explanation of the expression this outputs. */ i386.md for an explanation of the expression this outputs. */
...@@ -160,7 +166,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -160,7 +166,7 @@ Boston, MA 02111-1307, USA. */
#undef CC1_SPEC #undef CC1_SPEC
#define CC1_SPEC "%(cc1_cpu) %{profile:-p}" #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 for the special GCC options -static and -shared, which allow us to
link things in one of these three modes by applying the appropriate link things in one of these three modes by applying the appropriate
combinations of options at link-time. We like to support here for combinations of options at link-time. We like to support here for
......
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