make arm-use-movt available for all ARM
authorRenato Golin <renato.golin@linaro.org>
Thu, 15 Aug 2013 20:54:45 +0000 (20:54 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 15 Aug 2013 20:54:45 +0000 (20:54 +0000)
This updates clang according to a pending patch for llvm to
rename of the -arm-darwin-use-movt to arm-use-movt to make
it available for all of ARM.

note: please apply this close to the llvm change.

Patch by Jeroen Hofstee.

llvm-svn: 188488

clang/lib/Driver/Tools.cpp

index 2d0998f099efdc618d56052dae150dd7637e206e..9768352ef973734b93798966946b4e66fb24569c 100644 (file)
@@ -832,7 +832,7 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
 
     // The kext linker doesn't know how to deal with movw/movt.
     CmdArgs.push_back("-backend-option");
-    CmdArgs.push_back("-arm-darwin-use-movt=0");
+    CmdArgs.push_back("-arm-use-movt=0");
   }
 
   // Setting -mno-global-merge disables the codegen global merge pass. Setting