From: Fangrui Song Date: Thu, 20 Feb 2020 01:13:06 +0000 (-0800) Subject: [ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s X-Git-Tag: llvmorg-12-init~14144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=878159038b0cae2c9ca4180ea35f5e115e9570ce;p=platform%2Fupstream%2Fllvm.git [ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s --- diff --git a/lld/test/ELF/shuffle-sections.s b/lld/test/ELF/shuffle-sections.s index 812c079..259ee5f 100644 --- a/lld/test/ELF/shuffle-sections.s +++ b/lld/test/ELF/shuffle-sections.s @@ -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