From: Jim Wilson Date: Mon, 11 May 1998 17:44:31 +0000 (+0000) Subject: Fix -mflat bug reported by Yamamoto Hirotaka. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9e95099427a80b6c4e106fa8da90b6e85e50457;p=gcc.git Fix -mflat bug reported by Yamamoto Hirotaka. * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT. From-SVN: r19675 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0eab09abcf3..dd7c9f616dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon May 11 17:43:03 1998 Jim Wilson + + * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT. + Mon May 11 17:24:27 1998 Richard Henderson * sparc.md (ffsdi2): Disable. Simplify the expression as well. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index c64240f8188..01f9d98a62c 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -833,7 +833,7 @@ if (TARGET_ARCH64 \ /* Argument passing regs. */ #define SPARC_OUTGOING_INT_ARG_FIRST 8 -#define SPARC_INCOMING_INT_ARG_FIRST 24 +#define SPARC_INCOMING_INT_ARG_FIRST (TARGET_FLAT ? 8 : 24) #define SPARC_FP_ARG_FIRST 32 /* 1 for registers that have pervasive standard uses