[Clang] replace 'bitfield' with 'bit-field' for consistency (#117881)
[llvm-project.git] / lld / test / ELF / relro-tls.s
blob9d2ef6b8827fdd1e88518f95acab94481fcca278
1 # REQUIRES: x86
3 ## PT_GNU_RELRO includes TLS sections.
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
9 ## Currently p_memsz of PT_GNU_RELRO is rounded up to protect the last page.
11 # CHECK: Type: PT_GNU_RELRO
12 # CHECK: VirtualAddress: 0x2021C8
13 # CHECK: FileSize: 4
14 # CHECK-NEXT: MemSize: 3640
15 # CHECK: Alignment: 1
17 .section .foo,"awT",@progbits
18 .long 1
20 .section .bar,"awT",@nobits
21 .space 2