From: Fangrui Song Date: Wed, 1 May 2019 09:01:10 +0000 (+0000) Subject: [gold] Fix two readelf tests after rL359649 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=530166f53868242a1a969a2afdbaaedc7d46fb31;p=llvm [gold] Fix two readelf tests after rL359649 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359660 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/gold/X86/multiple-data.s b/test/tools/gold/X86/multiple-data.s index 0601c32fb8a..2a12e69c00f 100644 --- a/test/tools/gold/X86/multiple-data.s +++ b/test/tools/gold/X86/multiple-data.s @@ -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 diff --git a/test/tools/gold/X86/multiple-sections.ll b/test/tools/gold/X86/multiple-sections.ll index 21f0b988a61..facbd8d992e 100644 --- a/test/tools/gold/X86/multiple-sections.ll +++ b/test/tools/gold/X86/multiple-sections.ll @@ -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.