summaryrefslogtreecommitdiff
path: root/test/ELF/linkerscript/arm-lscript.s
blob: c377764e9776a1f1241763dd5639660d715cbf4b (plain) (blame)
1
2
3
4
5
6
7
8
9
// REQUIRES: arm
// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
// RUN: echo  "SECTIONS { \
// RUN:         .rel.dyn : {    } \
// RUN:         .zed     : { PROVIDE_HIDDEN (foobar = .); } \
// RUN:         }" > %t.script
// 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 %t.script %t.o -shared -o %t.so