blob: af2e6316ea439c4276dab6f83e425b063b569a2e [file] [log] [blame]
# REQUIRES: arm
# RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi /dev/null -o %t.o
# This is a test case for PR33029. Making sure that linker can digest
# the above script without dumping core.
# RUN: ld.lld -emit-relocs -T %s %t.o -shared -o %t.so
SECTIONS {
.rel.dyn : {}
.zed : { PROVIDE_HIDDEN (foobar = .); }
}