gnu.h (GNU_USER_LINK_EMULATION): Define.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 11 Apr 2011 21:21:49 +0000 (22:21 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 11 Apr 2011 21:21:49 +0000 (22:21 +0100)
* config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define.
(CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove.

From-SVN: r172278

gcc/ChangeLog
gcc/config/i386/gnu.h

index 1c0ba68075a3e09957555681d039d5a77ec825a4..ff1cb3671eaa0ea26f651ca5ab7df7a659eb7b25 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define.
+       (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove.
+
 2011-04-11  Xinliang David Li  <davidxl@google.com>
 
        * value-profile.c (check_ic_target): New function.
index a86eff473e3a4151eeaccb8a58a5b1fd74882de6..b8e86d49a3e12a1aae4b9a11f19dbd3d6218778b 100644 (file)
@@ -20,15 +20,11 @@ You should have received a copy of the GNU General Public License
 along with GCC.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#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 <http://www.gnu.org/licenses/>.
    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