]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/linkerscript/arm-lscript.test
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / linkerscript / arm-lscript.test
1 # REQUIRES: arm
2 # RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi /dev/null -o %t.o
3
4 # This is a test case for PR33029. Making sure that linker can digest
5 # the above script without dumping core.
6 # RUN: ld.lld -emit-relocs -T %s %t.o -shared -o %t.so
7
8 SECTIONS {
9   .rel.dyn : {}
10   .zed     : { PROVIDE_HIDDEN (foobar = .); }
11 }