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