summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorroland <roland@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-12 23:10:11 +0000
committerroland <roland@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-12 23:10:11 +0000
commit0e115d1a1a413852fc9915220d5cbab5d47bbacb (patch)
tree22e07a0317351105b24dc9c017bc84f459dc9f09 /gcc
parenta596ab500a5b95848346ccdb7242add5b49c9447 (diff)
downloadgcc-0e115d1a1a413852fc9915220d5cbab5d47bbacb.tar.gz
Contents replaced with old i386/gnuelf.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9669 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/gnu.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h
index 1ae02bb6168..1ad5df991e4 100644
--- a/gcc/config/i386/gnu.h
+++ b/gcc/config/i386/gnu.h
@@ -1,20 +1,20 @@
-/* Configuration for an i386 running GNU as the target machine. */
+/* Configuration for an i386 running GNU with ELF 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>
+/* This does it mostly for us. */
+#include <i386/linux.h>
#undef CPP_PREDEFINES
#define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386")
-/* 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
+#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>