summaryrefslogtreecommitdiff
path: root/test/MC/PowerPC/ppc64-fixup-apply.s
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-06-21 14:43:42 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-06-21 14:43:42 +0000
commitf7c1ee79fe90353fcd3f545f9d45a01a837bbf4b (patch)
tree37b1e4839ffd5e2f296e2c4b0ce071ade82dca8f /test/MC/PowerPC/ppc64-fixup-apply.s
parentf8f87dcfceadd1b842d130303a7091ad7d7d67d0 (diff)
downloadllvm-f7c1ee79fe90353fcd3f545f9d45a01a837bbf4b.tar.gz
llvm-f7c1ee79fe90353fcd3f545f9d45a01a837bbf4b.tar.bz2
llvm-f7c1ee79fe90353fcd3f545f9d45a01a837bbf4b.tar.xz
[PowerPC] Support @higher et.al. modifiers
This adds support for the @higher, @highera, @highest, and @highesta modifers, including some missing relocation types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/PowerPC/ppc64-fixup-apply.s')
-rw-r--r--test/MC/PowerPC/ppc64-fixup-apply.s10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/MC/PowerPC/ppc64-fixup-apply.s b/test/MC/PowerPC/ppc64-fixup-apply.s
index 50f74bf98d..8d3a980116 100644
--- a/test/MC/PowerPC/ppc64-fixup-apply.s
+++ b/test/MC/PowerPC/ppc64-fixup-apply.s
@@ -38,6 +38,13 @@ addis 1, 1, target6@h
.set target6, 0x4321fedc
+addi 1, 1, target7@higher
+addis 1, 1, target7@highest
+addi 1, 1, target7@highera
+addis 1, 1, target7@highesta
+
+.set target7, 0x1234ffffffff8000
+
.data
.quad v1
@@ -59,7 +66,7 @@ addis 1, 1, target6@h
# CHECK-NEXT: ]
# CHECK-NEXT: Address: 0x0
# CHECK-NEXT: Offset:
-# CHECK-NEXT: Size: 48
+# CHECK-NEXT: Size: 64
# CHECK-NEXT: Link: 0
# CHECK-NEXT: Info: 0
# CHECK-NEXT: AddressAlignment: 4
@@ -68,6 +75,7 @@ addis 1, 1, target6@h
# CHECK-NEXT: 0000: 38211234 3C211234 38215678 3C211234
# CHECK-NEXT: 0010: 38214444 3C211111 38218001 3C211001
# CHECK-NEXT: 0020: 38210008 3C210000 38214321 3C214321
+# CHECK-NEXT: 0030: 3821FFFF 3C211234 38210000 3C211235
# CHECK-NEXT: )
# CHECK-NEXT: }