]> granicus.if.org Git - llvm/commitdiff
[gold] Fix two readelf tests after rL359649
authorFangrui Song <maskray@google.com>
Wed, 1 May 2019 09:01:10 +0000 (09:01 +0000)
committerFangrui Song <maskray@google.com>
Wed, 1 May 2019 09:01:10 +0000 (09:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359660 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/gold/X86/multiple-data.s
test/tools/gold/X86/multiple-sections.ll

index 0601c32fb8a9d2f815d01ed2aff54d8365b8e192..2a12e69c00fe7816a7a1e210f441dd59a4bb3b73 100644 (file)
@@ -7,7 +7,7 @@
 # RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
 # RUN:     -m elf_x86_64 -o %t.exe %t2.o %t.o  \
 # RUN:     --section-ordering-file=%t_order_lto.txt
-# RUN: llvm-readelf -t %t.exe | FileCheck %s
+# RUN: llvm-readelf -s %t.exe | FileCheck %s
 
 # CHECK-DAG:      00000000004010fc     4 OBJECT  GLOBAL DEFAULT    2 dipsy
 # CHECK-DAG:      00000000004010f8     4 OBJECT  GLOBAL DEFAULT    2 tin
index 21f0b988a6167c8731ba30b3084464dcec7ea367..facbd8d992ed78fa46ee5684cbf1e1001b7a4fc0 100644 (file)
@@ -5,7 +5,7 @@
 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
 ; RUN:     -m elf_x86_64 -o %t.exe %t.o \
 ; RUN:     --section-ordering-file=%t_order_lto.txt
-; RUN: llvm-readelf -t %t.exe | FileCheck %s
+; RUN: llvm-readelf -s %t.exe | FileCheck %s
 
 ; Check that the order of the sections is tin -> _start -> pat.