From 2a6f449e6661ab9dcd038aefbb35cbb33208b133 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 12 May 1995 23:10:11 +0000 Subject: [PATCH] Contents replaced with old i386/gnuelf.h. From-SVN: r9669 --- gcc/config/i386/gnu.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h index 1ae02bb6168b..1ad5df991e44 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 - -/* Get perform_* macros to build libgcc.a. */ -#include +/* This does it mostly for us. */ +#include #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 -- 2.43.5