1 ## Check that llvm-objdump dumps OpenBSD program headers correctly.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-objdump -p %t | FileCheck %s
6 # CHECK: OPENBSD_RANDOMIZE off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**0
7 # CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
8 # CHECK-NEXT: OPENBSD_WXNEEDED off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**0
9 # CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
10 # CHECK-NEXT: OPENBSD_BOOTDATA off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**0
11 # CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
20 - Type: 0x65a3dbe6 ## PT_OPENBSD_RANDOMIZE
21 - Type: 0x65a3dbe7 ## PT_OPENBSD_WXNEEDED
22 - Type: 0x65a41be6 ## PT_OPENBSD_BOOTDATA