openbsd-bootdata.test
309 Bytes
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux /dev/null -o %t.o
# RUN: ld.lld --script %s %t.o -o %t
# RUN: llvm-readobj --program-headers -S %t | FileCheck %s
PHDRS { boot PT_OPENBSD_BOOTDATA; }
# CHECK: ProgramHeader {
# CHECK: Type: PT_OPENBSD_BOOTDATA (0x65A41BE6)