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
This commit is contained in:
Richard Sandiford 2007-04-26 12:25:42 +00:00 committed by Richard Sandiford
parent e797f7e150
commit 02cba8dfe4
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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