diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-29 16:26:20 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-29 16:26:20 +0000 |
| commit | bef2946c219dc621608bcc9e47f8b973e5ef5c70 (patch) | |
| tree | 1e4dfae199fc27167ed7496693938fec2dab65c2 /test/ELF/linkerscript/arm-lscript.s | |
| parent | c53addf38e24e4dafe992aafb3ae928bfa8fdb0a (diff) | |
Notes
Diffstat (limited to 'test/ELF/linkerscript/arm-lscript.s')
| -rw-r--r-- | test/ELF/linkerscript/arm-lscript.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ELF/linkerscript/arm-lscript.s b/test/ELF/linkerscript/arm-lscript.s new file mode 100644 index 000000000000..c377764e9776 --- /dev/null +++ b/test/ELF/linkerscript/arm-lscript.s @@ -0,0 +1,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 |
