[llvm] r359660 - [gold] Fix two readelf tests after rL359649

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 02:01:11 PDT 2019


Author: maskray
Date: Wed May  1 02:01:10 2019
New Revision: 359660

URL: http://llvm.org/viewvc/llvm-project?rev=359660&view=rev
Log:
[gold] Fix two readelf tests after rL359649

Modified:
    llvm/trunk/test/tools/gold/X86/multiple-data.s
    llvm/trunk/test/tools/gold/X86/multiple-sections.ll

Modified: llvm/trunk/test/tools/gold/X86/multiple-data.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/multiple-data.s?rev=359660&r1=359659&r2=359660&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/multiple-data.s (original)
+++ llvm/trunk/test/tools/gold/X86/multiple-data.s Wed May  1 02:01:10 2019
@@ -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

Modified: llvm/trunk/test/tools/gold/X86/multiple-sections.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/multiple-sections.ll?rev=359660&r1=359659&r2=359660&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/multiple-sections.ll (original)
+++ llvm/trunk/test/tools/gold/X86/multiple-sections.ll Wed May  1 02:01:10 2019
@@ -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.
 




More information about the llvm-commits mailing list