1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t 3# RUN: ld.lld %t -o %t.out 4# RUN: llvm-readobj --program-headers %t.out | FileCheck %s 5 6# CHECK: ProgramHeader { 7# CHECK: Type: PT_OPENBSD_RANDOMIZE (0x65A3DBE6) 8# CHECK-NEXT: Offset: 9# CHECK-NEXT: VirtualAddress: 10# CHECK-NEXT: PhysicalAddress: 11# CHECK-NEXT: FileSize: 8 12# CHECK-NEXT: MemSize: 8 13# CHECK-NEXT: Flags [ 14# CHECK-NEXT: PF_R (0x4) 15# CHECK-NEXT: ] 16# CHECK-NEXT: Alignment: 1 17# CHECK-NEXT: } 18 19.section .openbsd.randomdata, "a" 20.quad 0 21