aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/i386/gnu.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/i386/gnu.h')
-rw-r--r--contrib/gcc/config/i386/gnu.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/gnu.h b/contrib/gcc/config/i386/gnu.h
new file mode 100644
index 000000000000..1ad5df991e44
--- /dev/null
+++ b/contrib/gcc/config/i386/gnu.h
@@ -0,0 +1,20 @@
+/* Configuration for an i386 running GNU with ELF as the target machine. */
+
+/* This does it mostly for us. */
+#include <i386/linux.h>
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386")
+
+#undef LINK_SPEC
+#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
+ %{!shared: \
+ %{!ibcs: \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /lib/ld.so} \
+ %{!rpath:-rpath /lib/}} %{static:-static}}}"
+
+
+/* Get machine-independent configuration parameters for the GNU system. */
+#include <gnu.h>