summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-24 12:56:38 +0000
committerTim Northover <tnorthover@apple.com>2014-04-24 12:56:38 +0000
commitd4daf1762ddd3d0a20b8fc2166419b76b0eb645f (patch)
treed2d0a496328f4fdec5436cc08ca8f16faabe91ff /test
parent421c65b9b4eb1307789d197963fd79f5ba108aab (diff)
downloadllvm-d4daf1762ddd3d0a20b8fc2166419b76b0eb645f.tar.gz
llvm-d4daf1762ddd3d0a20b8fc2166419b76b0eb645f.tar.bz2
llvm-d4daf1762ddd3d0a20b8fc2166419b76b0eb645f.tar.xz
AArch64/ARM64: allow negative addends, at least on ELF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AArch64/elf-reloc-addend.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/AArch64/elf-reloc-addend.s b/test/MC/AArch64/elf-reloc-addend.s
index 0e7e2cafb7..8d575fb8b9 100644
--- a/test/MC/AArch64/elf-reloc-addend.s
+++ b/test/MC/AArch64/elf-reloc-addend.s
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64-linux-gnu -filetype=obj -o - %s | llvm-objdump -triple=aarch64-linux-gnu -r - | FileCheck %s
+// RUN: llvm-mc -triple=arm64-linux-gnu -filetype=obj -o - %s | llvm-objdump -triple=aarch64-linux-gnu -r - | FileCheck %s
+
add x0, x4, #:lo12:sym
// CHECK: 0 R_AARCH64_ADD_ABS_LO12_NC sym
add x3, x5, #:lo12:sym+1