]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/linkerscript/no-pt-load.test
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / linkerscript / no-pt-load.test
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
3 # RUN: ld.lld -o %t1 --script %s %t.o
4
5 ## Check we do not crash.
6
7 PHDRS { foo PT_DYNAMIC; }
8
9 SECTIONS {
10   .text : { *(.text) } : foo
11 }