summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-01 09:01:10 +0000
committerFangrui Song <maskray@google.com>2019-05-01 09:01:10 +0000
commit085bbe204cb6eb339c16155d502e8e9da8c5fd2c (patch)
tree74f19bc4033fdbbbf272f8001b6c0756fab9e36c
parent3e28075ecce7405795e38845b5a12821e83dd785 (diff)
downloadbcm5719-llvm-085bbe204cb6eb339c16155d502e8e9da8c5fd2c.tar.gz
bcm5719-llvm-085bbe204cb6eb339c16155d502e8e9da8c5fd2c.zip
[gold] Fix two readelf tests after rL359649
llvm-svn: 359660
-rw-r--r--llvm/test/tools/gold/X86/multiple-data.s2
-rw-r--r--llvm/test/tools/gold/X86/multiple-sections.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/gold/X86/multiple-data.s b/llvm/test/tools/gold/X86/multiple-data.s
index 0601c32fb8a..2a12e69c00f 100644
--- a/llvm/test/tools/gold/X86/multiple-data.s
+++ b/llvm/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/llvm/test/tools/gold/X86/multiple-sections.ll b/llvm/test/tools/gold/X86/multiple-sections.ll
index 21f0b988a61..facbd8d992e 100644
--- a/llvm/test/tools/gold/X86/multiple-sections.ll
+++ b/llvm/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.
OpenPOWER on IntegriCloud