diff options
author | Yi Kong <yikong@google.com> | 2017-11-13 16:15:47 -0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2017-11-13 16:15:47 -0800 |
commit | a38dd38df4bafa4723031ea79543e01a68a3ebbb (patch) | |
tree | e91948028ed865d9cbaeb61f4706263b4e44e86f /test/ELF/aarch64-load-alignment.s | |
parent | fc51a9828c2bece1d3cec27b0b3edbcf3f35467b (diff) | |
parent | c9e633dcb3997ab998bcedcf11d4e36d5af44a6c (diff) | |
download | lld-a38dd38df4bafa4723031ea79543e01a68a3ebbb.tar.gz |
Merge c9e633dcb for LLVM update to 316199llvm-r316199
Change-Id: Ia98560b5d3a898fddb952da4f918778a9f9f4db0
Diffstat (limited to 'test/ELF/aarch64-load-alignment.s')
-rw-r--r-- | test/ELF/aarch64-load-alignment.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ELF/aarch64-load-alignment.s b/test/ELF/aarch64-load-alignment.s new file mode 100644 index 000000000..d0c51c5b9 --- /dev/null +++ b/test/ELF/aarch64-load-alignment.s @@ -0,0 +1,11 @@ +# REQUIRES: aarch64 + +# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o +# RUN: not ld.lld -shared %t.o -o %t 2>&1 | FileCheck %s + +# CHECK: improper alignment for relocation R_AARCH64_LD_PREL_LO19 + + ldr x8, patatino + .data + .zero 5 +patatino: |