summaryrefslogtreecommitdiff
path: root/gcc/config/i386/vx-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/vx-common.h')
-rw-r--r--gcc/config/i386/vx-common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/i386/vx-common.h b/gcc/config/i386/vx-common.h
index f4547f08848..e63b91eb72d 100644
--- a/gcc/config/i386/vx-common.h
+++ b/gcc/config/i386/vx-common.h
@@ -20,10 +20,11 @@ along with GCC; see the file COPYING3. If not see
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
-/* VxWorks uses the same ABI as Solaris 2. */
+/* VxWorks uses the same ABI as Solaris 2, so use i386/sol2.h version. */
-#define SUBTARGET_RETURN_IN_MEMORY(TYPE, FNTYPE) \
- ix86_solaris_return_in_memory (TYPE, FNTYPE)
+#undef TARGET_SUBTARGET_DEFAULT
+#define TARGET_SUBTARGET_DEFAULT \
+ (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_VECT8_RETURNS)
/* Provide our target specific DBX_REGISTER_NUMBER, as advertised by the
common svr4.h. VxWorks relies on the SVR4 numbering. */