2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3 # RUN: ld.lld -z wxneeded %t -o %t.out
4 # RUN: llvm-readobj --program-headers %t.out | FileCheck %s
6 # CHECK: ProgramHeader {
7 # CHECK: Type: PT_OPENBSD_WXNEEDED (0x65A3DBE7)
8 # CHECK-NEXT: Offset: 0x0
9 # CHECK-NEXT: VirtualAddress: 0x0
10 # CHECK-NEXT: PhysicalAddress: 0x0
11 # CHECK-NEXT: FileSize: 0
12 # CHECK-NEXT: MemSize: 0
16 # CHECK-NEXT: Alignment: 0