diff options
Diffstat (limited to 'test/MC/PowerPC/ppc64-fixups.s')
-rw-r--r-- | test/MC/PowerPC/ppc64-fixups.s | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/MC/PowerPC/ppc64-fixups.s b/test/MC/PowerPC/ppc64-fixups.s index 56f99d8..a075066 100644 --- a/test/MC/PowerPC/ppc64-fixups.s +++ b/test/MC/PowerPC/ppc64-fixups.s @@ -2,7 +2,7 @@ # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck %s # RUN: llvm-mc -triple powerpc64-unknown-unknown -filetype=obj %s | \ -# RUN: llvm-readobj -r | FileCheck %s -check-prefix=REL +# RUN: llvm-readobj -r | FileCheck %s -check-prefix=CHECK-REL # CHECK: b target # encoding: [0b010010AA,A,A,0bAAAAAA00] # CHECK-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24 @@ -442,3 +442,7 @@ base: # CHECK-REL: 0x{{[0-9A-F]*[08]}} R_PPC64_DTPREL64 target 0x0 .quad target@dtprel +# Constant fixup + ori 1, 2, 131071@l +# CHECK: ori 1, 2, 131071@l # encoding: [0x60,0x41,A,A] +# CHECK-NEXT: # fixup A - offset: 2, value: 131071@l, kind: fixup_ppc_half16 |