12 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o3# RUN: ld.lld -o %t1 --script %s %t.o4 5## Check we do not crash.6 7PHDRS { foo PT_DYNAMIC; }8 9SECTIONS {10 .text : { *(.text) } : foo11}12 1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o3# RUN: ld.lld -o %t1 --script %s %t.o4 5## Check we do not crash.6 7PHDRS { foo PT_DYNAMIC; }8 9SECTIONS {10 .text : { *(.text) } : foo11}12