summaryrefslogtreecommitdiff
path: root/gcc/config/i386/midipix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/midipix.h')
-rw-r--r--gcc/config/i386/midipix.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h
index 765657365..4abcda1f7 100644
--- a/gcc/config/i386/midipix.h
+++ b/gcc/config/i386/midipix.h
@@ -22,6 +22,12 @@
#include <stdio.h>
#include "coretypes.h"
+#if TARGET_64BIT_DEFAULT
+#define MULTILIB_DEFAULTS { "m64" }
+#else
+#define MULTILIB_DEFAULTS { "m32" }
+#endif
+
/* identify targets */
#define TARGET_NT64 (TARGET_64BIT)
@@ -30,7 +36,7 @@
/* target constraints */
#undef TARGET_SEH
-#define TARGET_SEH (flag_unwind_tables)
+#define TARGET_SEH (TARGET_NT64 && flag_unwind_tables)
#undef MAX_OFILE_ALIGNMENT
#define MAX_OFILE_ALIGNMENT (8 * (2 * 4096))