[ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s

This commit is contained in:
Fangrui Song 2020-02-19 17:13:06 -08:00
parent 40463301e4
commit 878159038b
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@
# RUN: ld.lld --symbol-ordering-file %t_order.txt --shuffle-sections=2 %t.o -o %t2.out
# RUN: llvm-readelf -x .text %t2.out | FileCheck %s --check-prefix=SHUFFLE2
# SHUFFLE2: Hex dump of section '.text':
# SHUFFLE2-NEXT: 02cccccc 010403
# SHUFFLE2-NEXT: 02cccccc 01{{....}}
# RUN: ld.lld --symbol-ordering-file %t_order.txt --shuffle-sections=3 %t.o -o %t3.out
# RUN: llvm-readelf -x .text %t3.out | FileCheck %s --check-prefix=SHUFFLE3
# SHUFFLE3: Hex dump of section '.text':
# SHUFFLE3-NEXT: 02cccccc 010304
# SHUFFLE3-NEXT: 02cccccc 01{{....}}
## .text has an alignment of 4.
.global _start