[lld] r249582 - Remove remaining uses of "-flavor gnu2".
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 7 11:20:07 PDT 2015
Author: rafael
Date: Wed Oct 7 13:20:07 2015
New Revision: 249582
URL: http://llvm.org/viewvc/llvm-project?rev=249582&view=rev
Log:
Remove remaining uses of "-flavor gnu2".
Modified:
lld/trunk/test/elf2/allow-shlib-undefined.s
lld/trunk/test/elf2/no-undefined.s
Modified: lld/trunk/test/elf2/allow-shlib-undefined.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/allow-shlib-undefined.s?rev=249582&r1=249581&r2=249582&view=diff
==============================================================================
--- lld/trunk/test/elf2/allow-shlib-undefined.s (original)
+++ lld/trunk/test/elf2/allow-shlib-undefined.s Wed Oct 7 13:20:07 2015
@@ -3,7 +3,7 @@
# --allow-shlib-undefined is set by default
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
# RUN: %p/Inputs/allow-shlib-undefined.s -o %t
-# RUN: lld -shared -flavor gnu2 %t -o %t.so
+# RUN: ld.lld2 -shared %t -o %t.so
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# Executable: should link with DSO containing undefined symbols in any case.
@@ -13,9 +13,9 @@
# DSO with undefines:
# should link with or without any of these options.
-# RUN: lld -shared -flavor gnu2 %t -o %t.so
-# RUN: lld -shared --allow-shlib-undefined -flavor gnu2 %t -o %t.so
-# RUN: lld -shared --no-allow-shlib-undefined -flavor gnu2 %t -o %t.so
+# RUN: ld.lld2 -shared %t -o %t.so
+# RUN: ld.lld2 -shared --allow-shlib-undefined %t -o %t.so
+# RUN: ld.lld2 -shared --no-allow-shlib-undefined %t -o %t.so
# Executable still should not link when have undefines inside.
# RUN: not ld.lld2 %t -o %t.so
Modified: lld/trunk/test/elf2/no-undefined.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/no-undefined.s?rev=249582&r1=249581&r2=249582&view=diff
==============================================================================
--- lld/trunk/test/elf2/no-undefined.s (original)
+++ lld/trunk/test/elf2/no-undefined.s Wed Oct 7 13:20:07 2015
@@ -1,7 +1,7 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: not lld --no-undefined -shared -flavor gnu2 %t -o %t.so
-# RUN: lld -shared -flavor gnu2 %t -o %t1.so
+# RUN: not ld.lld2 --no-undefined -shared %t -o %t.so
+# RUN: ld.lld2 -shared %t -o %t1.so
.globl _shared
-_shared:
+_shared:
call _unresolved
More information about the llvm-commits
mailing list