blob: b7ed47656172f0b77c3956d9a31987c5b4910b6b [file] [log] [blame]
# REQUIRES: x86
# RUN: echo '.section .bss,"",@nobits; .short 0' \
# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
# RUN: ld.lld -o %t --script %s %t.o
## Check we do not crash.
SECTIONS {
.bss : {
. += 0x10000;
*(.bss)
} =0xFF
}