r188488 - make arm-use-movt available for all ARM

Renato Golin renato.golin at linaro.org
Thu Aug 15 13:54:45 PDT 2013


Author: rengolin
Date: Thu Aug 15 15:54:45 2013
New Revision: 188488

URL: http://llvm.org/viewvc/llvm-project?rev=188488&view=rev
Log:
make arm-use-movt available for all ARM

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.

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=188488&r1=188487&r2=188488&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Aug 15 15:54:45 2013
@@ -832,7 +832,7 @@ void Clang::AddARMTargetArgs(const ArgLi
 
     // 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 





More information about the cfe-commits mailing list