[llvm-commits] [127994] LLVM x86-64 is capable of generating static code.
echeng at apple.com
echeng at apple.com
Mon Jun 4 16:17:19 PDT 2007
Revision: 127994
Author: echeng
Date: 2007-06-04 16:17:19 -0700 (Mon, 04 Jun 2007)
Log Message:
-----------
LLVM x86-64 is capable of generating static code. Disable gcc hack.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/config/i386/i386.c
Modified: apple-local/branches/llvm/gcc/config/i386/i386.c
===================================================================
--- apple-local/branches/llvm/gcc/config/i386/i386.c 2007-06-04 20:51:49 UTC (rev 127993)
+++ apple-local/branches/llvm/gcc/config/i386/i386.c 2007-06-04 23:17:19 UTC (rev 127994)
@@ -1637,11 +1637,15 @@
#endif
/* APPLE LOCAL end mainline */
+/* APPLE LOCAL begin LLVM */
+#ifndef ENABLE_LLVM
/* APPLE LOCAL begin x86_64 support 2006-02-02 */
if (TARGET_MACHO && TARGET_64BIT)
/* -fPIC is the default for x86_64 */
flag_pic = 2;
/* APPLE LOCAL end x86_64 support 2006-02-02 */
+#endif
+/* APPLE LOCAL end LLVM */
/* Set the default values for switches whose default depends on TARGET_64BIT
in case they weren't overwritten by command line options. */
More information about the llvm-commits
mailing list