summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/i386/mach.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/i386/mach.h')
-rw-r--r--contrib/gcc/config/i386/mach.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/mach.h b/contrib/gcc/config/i386/mach.h
new file mode 100644
index 0000000..4b7cf37
--- /dev/null
+++ b/contrib/gcc/config/i386/mach.h
@@ -0,0 +1,20 @@
+/* Configuration for an i386 running Mach as the target machine. */
+
+/* We do want to add an underscore to the front of each user symbol.
+ i386/gas.h checks this. */
+#define YES_UNDERSCORES
+
+#include "i386/gstabs.h"
+
+/* Get perform_* macros to build libgcc.a. */
+#include "i386/perform.h"
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dunix -Di386 -DMACH -Asystem(unix) -Asystem(mach) -Acpu(i386) -Amachine(i386)"
+
+/* Specify extra dir to search for include files. */
+#define SYSTEM_INCLUDE_DIR "/usr/mach/include"
+
+/* Don't default to pcc-struct-return, because gcc is the only compiler, and
+ we want to retain compatibility with older gcc versions. */
+#define DEFAULT_PCC_STRUCT_RETURN 0
OpenPOWER on IntegriCloud