1# REQUIRES: x86 2 3## PT_GNU_RELRO includes TLS sections. 4 5# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 6# RUN: ld.lld %t.o -o %t 7# RUN: llvm-readobj -l %t | FileCheck %s 8 9## Currently p_memsz of PT_GNU_RELRO is rounded up to protect the last page. 10 11# CHECK: Type: PT_GNU_RELRO 12# CHECK: VirtualAddress: 0x2021C8 13# CHECK: FileSize: 4 14# CHECK-NEXT: MemSize: 3640 15# CHECK: Alignment: 1 16 17.section .foo,"awT",@progbits 18.long 1 19 20.section .bar,"awT",@nobits 21.space 2 22