14 lines · plain
1# REQUIRES: x862# RUN: echo '.section .bss,"",@nobits; .short 0' \3# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o4# RUN: ld.lld -o %t --script %s %t.o5 6## Check we do not crash.7 8SECTIONS {9 .bss : {10 . += 0x10000;11 *(.bss)12 } =0xFF13}14