summaryrefslogtreecommitdiff
path: root/gcc/config/i386/sysv4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/sysv4.h')
-rw-r--r--gcc/config/i386/sysv4.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h
index e57fd0c5b0a..267785be320 100644
--- a/gcc/config/i386/sysv4.h
+++ b/gcc/config/i386/sysv4.h
@@ -25,8 +25,9 @@ along with GCC; see the file COPYING3. If not see
/* The svr4 ABI for the i386 says that records and unions are returned
in memory. */
-#undef TARGET_RETURN_IN_MEMORY
-#define TARGET_RETURN_IN_MEMORY ix86_i386elf_return_in_memory
+#define SUBTARGET_RETURN_IN_MEMORY(TYPE, FNTYPE) \
+ (TYPE_MODE (TYPE) == BLKmode \
+ || (VECTOR_MODE_P (TYPE_MODE (TYPE)) && int_size_in_bytes (TYPE) == 8));
/* Output at beginning of assembler file. */
/* The .file command should always begin the output. */