Skip to content

Commit

Permalink
Remove DISABLE_ARM_DARWIN_USE_MOVT ifdefs. Radar 9456730.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141320 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
bob-wilson committed Oct 6, 2011
1 parent c808503 commit fd22cce
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/Driver/Tools.cpp
Expand Up @@ -549,12 +549,6 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
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.
Expand Down Expand Up @@ -725,10 +719,8 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
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
Expand Down

0 comments on commit fd22cce

Please sign in to comment.