From 761c0c6e908c9988906045b282d458b8f85d7f20 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 11 Apr 2011 22:21:49 +0100 Subject: [PATCH] gnu.h (GNU_USER_LINK_EMULATION): Define. * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. From-SVN: r172278 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/gnu.h | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c0ba68075a..ff1cb3671ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-11 Joseph Myers + + * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. + (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. + 2011-04-11 Xinliang David Li * value-profile.c (check_ic_target): New function. diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h index a86eff473e3..b8e86d49a3e 100644 --- a/gcc/config/i386/gnu.h +++ b/gcc/config/i386/gnu.h @@ -20,15 +20,11 @@ You should have received a copy of the GNU General Public License along with GCC. If not, see . */ +#define GNU_USER_LINK_EMULATION "elf_i386" + #undef GNU_USER_DYNAMIC_LINKER #define GNU_USER_DYNAMIC_LINKER "/lib/ld.so" -#undef CPP_SPEC -#define CPP_SPEC "%{pthread:-D_REENTRANT} %{posix:-D_POSIX_SOURCE}" - -#undef CC1_SPEC -#define CC1_SPEC "%(cc1_cpu)" - #undef STARTFILE_SPEC #if defined HAVE_LD_PIE #define STARTFILE_SPEC \ @@ -40,10 +36,6 @@ along with GCC. If not, see . crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}" #endif -#undef ENDFILE_SPEC -#define ENDFILE_SPEC \ - "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" - /* FIXME: Is a Hurd-specific fallback mechanism necessary? */ #undef MD_UNWIND_SUPPORT -- 2.30.2