diff options
Diffstat (limited to 'test/ELF/linkerscript/openbsd-bootdata.s')
| -rw-r--r-- | test/ELF/linkerscript/openbsd-bootdata.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ELF/linkerscript/openbsd-bootdata.s b/test/ELF/linkerscript/openbsd-bootdata.s new file mode 100644 index 000000000000..3e90574bb3a3 --- /dev/null +++ b/test/ELF/linkerscript/openbsd-bootdata.s @@ -0,0 +1,7 @@ +# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o +# RUN: echo "PHDRS { boot PT_OPENBSD_BOOTDATA; }" > %t.script +# RUN: ld.lld --script %t.script %t.o -o %t +# RUN: llvm-readobj --program-headers -s %t | FileCheck %s + +# CHECK: ProgramHeader { +# CHECK: Type: PT_OPENBSD_BOOTDATA (0x65A41BE6) |
