[cfe-commits] r141320 - /cfe/trunk/lib/Driver/Tools.cpp
Bob Wilson
bob.wilson at apple.com
Thu Oct 6 14:52:27 PDT 2011
Author: bwilson
Date: Thu Oct 6 16:52:27 2011
New Revision: 141320
URL: http://llvm.org/viewvc/llvm-project?rev=141320&view=rev
Log:
Remove DISABLE_ARM_DARWIN_USE_MOVT ifdefs. Radar 9456730.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=141320&r1=141319&r2=141320&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Oct 6 16:52:27 2011
@@ -549,12 +549,6 @@
const Driver &D = getToolChain().getDriver();
llvm::Triple Triple = getToolChain().getTriple();
- // Disable movt generation, if requested.
-#ifdef DISABLE_ARM_DARWIN_USE_MOVT
- CmdArgs.push_back("-backend-option");
- CmdArgs.push_back("-arm-darwin-use-movt=0");
-#endif
-
// Select the ABI to use.
//
// FIXME: Support -meabi.
@@ -725,10 +719,8 @@
CmdArgs.push_back("-arm-strict-align");
// The kext linker doesn't know how to deal with movw/movt.
-#ifndef DISABLE_ARM_DARWIN_USE_MOVT
CmdArgs.push_back("-backend-option");
CmdArgs.push_back("-arm-darwin-use-movt=0");
-#endif
}
// Setting -mno-global-merge disables the codegen global merge pass. Setting
More information about the cfe-commits
mailing list