From d5757bb45ffb48347f0ae275a7034740a3698bfd Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 9 Apr 1994 09:13:06 -0400 Subject: [PATCH] (STRUCT_VALUE{,_INCOMING,_REGNUM}): Redefine for calling conventions of native cc. From-SVN: r7003 --- gcc/config/i386/sequent.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/sequent.h b/gcc/config/i386/sequent.h index c7d487c9b9d..b4e5da85666 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