aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-09 09:13:06 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-09 09:13:06 -0400
commitd5757bb45ffb48347f0ae275a7034740a3698bfd (patch)
tree4281e5569e10bb48c7257c9c79f5a8bbdd3bfd56
parent351aa1c1a04f782e11e16efa07a18cdacc71942b (diff)
downloadgcc-d5757bb45ffb48347f0ae275a7034740a3698bfd.zip
gcc-d5757bb45ffb48347f0ae275a7034740a3698bfd.tar.gz
gcc-d5757bb45ffb48347f0ae275a7034740a3698bfd.tar.bz2
(STRUCT_VALUE{,_INCOMING,_REGNUM}): Redefine for calling conventions
of native cc. From-SVN: r7003
-rw-r--r--gcc/config/i386/sequent.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/i386/sequent.h b/gcc/config/i386/sequent.h
index c7d487c..b4e5da8 100644
--- a/gcc/config/i386/sequent.h
+++ b/gcc/config/i386/sequent.h
@@ -1,5 +1,5 @@
/* Definitions for Sequent Intel 386.
- Copyright (C) 1988 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1994 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -144,3 +144,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_OUTPUT_INTERNAL_LABEL
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)\
fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
+
+/* The native compiler passes the address of the returned structure in eax. */
+#undef STRUCT_VALUE
+#undef STRUCT_VALUE_INCOMING
+#define STRUCT_VALUE_REGNUM 0