summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-07-02 19:12:10 +0000
committerFangrui Song <maskray@google.com>2018-07-02 19:12:10 +0000
commit36e021490d3fcc5a3fce95d877ba0ed10aa31f83 (patch)
tree62b5282766b675d6523637029e2b1981952a5088
parentfd97494984071cbdf32432654d660b9cf4eca77a (diff)
downloadbcm5719-llvm-36e021490d3fcc5a3fce95d877ba0ed10aa31f83.tar.gz
bcm5719-llvm-36e021490d3fcc5a3fce95d877ba0ed10aa31f83.zip
[ELF] Fix just-symbols*.s after r336129
llvm-svn: 336135
-rw-r--r--lld/test/ELF/just-symbols-cref.s4
-rw-r--r--lld/test/ELF/just-symbols.s2
2 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/ELF/just-symbols-cref.s b/lld/test/ELF/just-symbols-cref.s
index 64b02d90c1a..8581c53eb5d 100644
--- a/lld/test/ELF/just-symbols-cref.s
+++ b/lld/test/ELF/just-symbols-cref.s
@@ -1,9 +1,9 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: ld.lld %t.o -o /dev/null -Ttext=0x10000
+# RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000
-# RUN: ld.lld -just-symbols=%t1.exe -o /dev/null -cref | FileCheck %s
+# RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe -cref | FileCheck %s
# CHECK: Symbol File
# CHECK-NEXT: bar {{.*exe}}
diff --git a/lld/test/ELF/just-symbols.s b/lld/test/ELF/just-symbols.s
index 58fb24256c5..856cf8c581e 100644
--- a/lld/test/ELF/just-symbols.s
+++ b/lld/test/ELF/just-symbols.s
@@ -1,7 +1,7 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: ld.lld %t.o -o /dev/null -Ttext=0x10000
+# RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000
# RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe
# RUN: llvm-readelf -symbols %t2.exe | FileCheck %s
OpenPOWER on IntegriCloud