22 lines · plain
1# REQUIRES: x862 3## PT_GNU_RELRO includes TLS sections.4 5# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o6# RUN: ld.lld %t.o -o %t7# RUN: llvm-readobj -l %t | FileCheck %s8 9## Currently p_memsz of PT_GNU_RELRO is rounded up to protect the last page.10 11# CHECK: Type: PT_GNU_RELRO12# CHECK: VirtualAddress: 0x2021C813# CHECK: FileSize: 414# CHECK-NEXT: MemSize: 364015# CHECK: Alignment: 116 17.section .foo,"awT",@progbits18.long 119 20.section .bar,"awT",@nobits21.space 222