2 ## Test PPC64 specific section layout. See also section-layout.s.
4 # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o
5 # RUN: llvm-mc -filetype=obj -triple=powerpc64le %p/Inputs/shared.s -o %t1.o
6 # RUN: ld.lld -shared -soname=t1.so %t1.o -o %t1.so
7 # RUN: ld.lld %t.o %t1.so -o %t
8 # RUN: llvm-readelf -S %t | FileCheck %s
13 # CHECK-NEXT: .dynamic
16 ## The end of .relro_padding is aligned to a common-page-size boundary.
17 # CHECK-NEXT: .relro_padding NOBITS 0000000010020400 000400 000c00 00 WA 0 0 1
19 # CHECK-NEXT: .branch_lt
23 addis 3, 2, bar2@got@ha
25 addis 5, 2, .Lbar@toc@ha
28 .section .toc,"aw",@progbits
32 .section .tdata,"awT",@progbits; .space 1
33 .section .tbss,"awT",@nobits; .space 1
34 .section .data,"aw",@progbits; .space 1