From 36e021490d3fcc5a3fce95d877ba0ed10aa31f83 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 2 Jul 2018 19:12:10 +0000 Subject: [PATCH] [ELF] Fix just-symbols*.s after r336129 llvm-svn: 336135 --- lld/test/ELF/just-symbols-cref.s | 4 ++-- lld/test/ELF/just-symbols.s | 2 +- 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 64b02d9..8581c53 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 58fb242..856cf8c 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 -- 2.7.4