]> granicus.if.org Git - clang/commitdiff
[Myriad] Remove invalidated -elf flag for MoviAsm
authorWalter Lee <waltl@google.com>
Mon, 8 Jan 2018 20:36:08 +0000 (20:36 +0000)
committerWalter Lee <waltl@google.com>
Mon, 8 Jan 2018 20:36:08 +0000 (20:36 +0000)
Summary:
The flag has been deprecated, and is becoming invalid in the latest
MDK.

Reviewers: jyknight

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D41713

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322023 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains/Myriad.cpp
test/Driver/myriad-toolchain.c

index 06079b109dd1ae8827d0cf6114f98c19fbe57268..2c0b3162588d2573539a95077ead70cf09a9aa3c 100644 (file)
@@ -107,7 +107,6 @@ void tools::SHAVE::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
     CmdArgs.push_back(
         Args.MakeArgString(std::string("-i:") + A->getValue(0)));
   }
-  CmdArgs.push_back("-elf"); // Output format.
   CmdArgs.push_back(II.getFilename());
   CmdArgs.push_back(
       Args.MakeArgString(std::string("-o:") + Output.getFilename()));
index 26b02387093a7f80f76dc31c569a3d92635375bf..215a02fd0dec19a17a20c90b480cd8172cc1b0da 100644 (file)
@@ -41,7 +41,7 @@
 // RUN:   | FileCheck %s -check-prefix=MOVICOMPILE
 // MOVICOMPILE: moviCompile{{(.exe)?}}" "-S" "-fno-exceptions" "-DMYRIAD2" "-mcpu=myriad2.2" "-isystem" "somewhere" "-I" "common"
 // MOVICOMPILE: moviAsm{{(.exe)?}}" "-no6thSlotCompression" "-cv:myriad2.2" "-noSPrefixing" "-a"
-// MOVICOMPILE: "-yippee" "-i:somewhere" "-i:common" "-elf"
+// MOVICOMPILE: "-yippee" "-i:somewhere" "-i:common"
 
 // RUN: %clang -target shave-myriad -c -### %s -DEFINE_ME -UNDEFINE_ME 2>&1 \
 // RUN:   | FileCheck %s -check-prefix=DEFINES