bolt/deps/llvm-18.1.8/lld/test/ELF/linkerscript/no-pt-load.test
2025-02-14 19:21:04 +01:00

11 lines
222 B
Text

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
# RUN: ld.lld -o %t1 --script %s %t.o
## Check we do not crash.
PHDRS { foo PT_DYNAMIC; }
SECTIONS {
.text : { *(.text) } : foo
}