diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-04-26 12:25:42 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-04-26 12:25:42 +0000 |
commit | 02cba8dfe4e337517390a0763b3248ea1216b52b (patch) | |
tree | 73072afd6e6dba573b526e871eb9c0d445780a3d | |
parent | e797f7e1506e42ef56f8b1146f4730563afdbeed (diff) | |
download | gcc-02cba8dfe4e337517390a0763b3248ea1216b52b.zip gcc-02cba8dfe4e337517390a0763b3248ea1216b52b.tar.gz gcc-02cba8dfe4e337517390a0763b3248ea1216b52b.tar.bz2 |
vx-common.h (RETURN_IN_MEMORY): Use ix86_sol10_return_in_memory.
gcc/
* config/i386/vx-common.h (RETURN_IN_MEMORY): Use
ix86_sol10_return_in_memory.
From-SVN: r124185
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/vx-common.h | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ddfdbfd..9e27031 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2007-04-26 Richard Sandiford <richard@codesourcery.com> + * config/i386/vx-common.h (RETURN_IN_MEMORY): Use + ix86_sol10_return_in_memory. + +2007-04-26 Richard Sandiford <richard@codesourcery.com> + * config/i386/i386.c (ix86_sol10_return_in_memory): Remove unused variables. diff --git a/gcc/config/i386/vx-common.h b/gcc/config/i386/vx-common.h index 7c94c7d..fafdda2 100644 --- a/gcc/config/i386/vx-common.h +++ b/gcc/config/i386/vx-common.h @@ -21,10 +21,7 @@ Boston, MA 02110-1301, USA. */ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) -/* The svr4 ABI for the i386 says that records and unions are returned - in memory. */ +/* VxWorks uses the same ABI as Solaris 10. */ #undef RETURN_IN_MEMORY -#define RETURN_IN_MEMORY(TYPE) \ - (TYPE_MODE (TYPE) == BLKmode \ - || (VECTOR_MODE_P (TYPE_MODE (TYPE)) && int_size_in_bytes (TYPE) == 8)) +#define RETURN_IN_MEMORY ix86_sol10_return_in_memory |