[gold] Fix two readelf tests after rL359649

llvm-svn: 359660
This commit is contained in:
Fangrui Song 2019-05-01 09:01:10 +00:00
parent 3e28075ecc
commit 085bbe204c
2 changed files with 2 additions and 2 deletions

View 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

View 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.