Sign in
cobalt
/
cobalt
/
0c2b1d4428f8ae16220e86a16bebd07ff691a412
/
.
/
third_party
/
llvm-project
/
lld
/
test
/
ELF
/
linkerscript
/
no-pt-load.test
blob: 16f7f44099842406eee3217a79fc5b5443720f75 [
file
] [
log
] [
blame
]
# 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
}