[lld] r253044 - Use ld.lld2, not -flavor gnu2
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 07:01:17 PST 2015
Author: rafael
Date: Fri Nov 13 09:01:17 2015
New Revision: 253044
URL: http://llvm.org/viewvc/llvm-project?rev=253044&view=rev
Log:
Use ld.lld2, not -flavor gnu2
Modified:
lld/trunk/test/elf2/emulation.s
lld/trunk/test/elf2/linkerscript.s
Modified: lld/trunk/test/elf2/emulation.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/emulation.s?rev=253044&r1=253043&r2=253044&view=diff
==============================================================================
--- lld/trunk/test/elf2/emulation.s (original)
+++ lld/trunk/test/elf2/emulation.s Fri Nov 13 09:01:17 2015
@@ -92,9 +92,9 @@
# PPC64-NEXT: }
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %tmips
-# RUN: lld -flavor gnu2 -m elf32btsmip -e _start %tmips -o %t2mips
+# RUN: ld.lld2 -m elf32btsmip -e _start %tmips -o %t2mips
# RUN: llvm-readobj -file-headers %t2mips | FileCheck --check-prefix=MIPS %s
-# RUN: lld -flavor gnu2 %tmips -e _start -o %t3mips
+# RUN: ld.lld2 %tmips -e _start -o %t3mips
# RUN: llvm-readobj -file-headers %t3mips | FileCheck --check-prefix=MIPS %s
# MIPS: ElfHeader {
# MIPS-NEXT: Ident {
@@ -116,11 +116,11 @@
# MIPS-NEXT: ]
# RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-linux %s -o %tmipsel
-# RUN: lld -flavor gnu2 -m elf32ltsmip -e _start %tmipsel -o %t2mipsel
+# RUN: ld.lld2 -m elf32ltsmip -e _start %tmipsel -o %t2mipsel
# RUN: llvm-readobj -file-headers %t2mipsel | FileCheck --check-prefix=MIPSEL %s
-# RUN: lld -flavor gnu2 -melf32ltsmip -e _start %tmipsel -o %t2mipsel
+# RUN: ld.lld2 -melf32ltsmip -e _start %tmipsel -o %t2mipsel
# RUN: llvm-readobj -file-headers %t2mipsel | FileCheck --check-prefix=MIPSEL %s
-# RUN: lld -flavor gnu2 %tmipsel -e _start -o %t3mipsel
+# RUN: ld.lld2 %tmipsel -e _start -o %t3mipsel
# RUN: llvm-readobj -file-headers %t3mipsel | FileCheck --check-prefix=MIPSEL %s
# MIPSEL: ElfHeader {
# MIPSEL-NEXT: Ident {
Modified: lld/trunk/test/elf2/linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/linkerscript.s?rev=253044&r1=253043&r2=253044&view=diff
==============================================================================
--- lld/trunk/test/elf2/linkerscript.s (original)
+++ lld/trunk/test/elf2/linkerscript.s Fri Nov 13 09:01:17 2015
@@ -48,7 +48,7 @@
# RUN: llvm-readobj %t2 > /dev/null
# RUN: echo "ENTRY(_wrong_label)" > %t.script
-# RUN: not lld -flavor gnu2 -o %t2 %t.script %t > %t.log 2>&1
+# RUN: not ld.lld2 -o %t2 %t.script %t > %t.log 2>&1
# RUN: FileCheck -check-prefix=ERR-ENTRY %s < %t.log
# ERR-ENTRY: undefined symbol: _wrong_label
More information about the llvm-commits
mailing list