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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h
index e1052724937..e57fd0c5b0a 100644
--- a/gcc/config/i386/sysv4.h
+++ b/gcc/config/i386/sysv4.h
@@ -25,10 +25,8 @@ 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 RETURN_IN_MEMORY
-#define RETURN_IN_MEMORY(TYPE) \
- (TYPE_MODE (TYPE) == BLKmode \
- || (VECTOR_MODE_P (TYPE_MODE (TYPE)) && int_size_in_bytes (TYPE) == 8))
+#undef TARGET_RETURN_IN_MEMORY
+#define TARGET_RETURN_IN_MEMORY ix86_i386elf_return_in_memory
/* Output at beginning of assembler file. */
/* The .file command should always begin the output. */