vx-common.h (RETURN_IN_MEMORY): Use ix86_sol10_return_in_memory.
authorRichard Sandiford <richard@codesourcery.com>
Thu, 26 Apr 2007 12:25:42 +0000 (12:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 26 Apr 2007 12:25:42 +0000 (12:25 +0000)
gcc/
* config/i386/vx-common.h (RETURN_IN_MEMORY): Use
ix86_sol10_return_in_memory.

From-SVN: r124185

gcc/ChangeLog
gcc/config/i386/vx-common.h

index ddfdbfdc268b030c123dac434fc57b4da917d58c..9e27031777d73052292f1ee7507126a259f75857 100644 (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
index 7c94c7daadfe2b075f7f70182bae01fcd7c8d589..fafdda2b5ad1e23f2c6b7213ef030db571993ce0 100644 (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