summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/symbol-variants.s
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-04-29 13:42:02 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-04-29 13:42:02 +0000
commitdd18d5b0f6aea5d13fbe653a1bfa20fa17531add (patch)
tree0de7bdef75ead834e1bc7827a2de30bcd28504d0 /llvm/test/MC/ARM/symbol-variants.s
parent20e93f39c1bfd578f7069ae19a8844a852b63115 (diff)
downloadbcm5719-llvm-dd18d5b0f6aea5d13fbe653a1bfa20fa17531add.tar.gz
bcm5719-llvm-dd18d5b0f6aea5d13fbe653a1bfa20fa17531add.zip
Parse and create GOT_PREL relocations.
llvm-svn: 207526
Diffstat (limited to 'llvm/test/MC/ARM/symbol-variants.s')
-rw-r--r--llvm/test/MC/ARM/symbol-variants.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/symbol-variants.s b/llvm/test/MC/ARM/symbol-variants.s
index e1036a33e31..a10fe5029e0 100644
--- a/llvm/test/MC/ARM/symbol-variants.s
+++ b/llvm/test/MC/ARM/symbol-variants.s
@@ -2,6 +2,7 @@
@ RUN: llvm-mc < %s -triple thumbv7-none-linux-gnueabi -filetype=obj | llvm-objdump -triple thumbv7-none-linux-gnueabi -r - | FileCheck %s --check-prefix=CHECK --check-prefix=THUMB
@ CHECK-LABEL: RELOCATION RECORDS FOR [.rel.text]
+.Lsym:
@ empty
.word f00
@@ -83,3 +84,8 @@ bl f05(plt)
@ CHECK: 60 R_ARM_TLS_GOTDESC f24
@ CHECK: 64 R_ARM_TLS_GOTDESC f25
+@ got_prel
+.word f26(GOT_PREL) + (. - .Lsym)
+ ldr r3, =f27(GOT_PREL)
+@ CHECK: 68 R_ARM_GOT_PREL f26
+@ CHECK: 70 R_ARM_GOT_PREL f27
OpenPOWER on IntegriCloud