2 # RUN: llvm-mc -filetype=obj -triple=powerpc %s -o %t.be.o
3 # RUN: ld.lld %t.be.o -o %t
4 # RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
6 # RUN: llvm-mc -filetype=obj -triple=powerpcle %s -o %t.le.o
7 # RUN: ld.lld %t.le.o -o %t
8 # RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
10 .section .R_PPC_REL14,"ax",@progbits
13 # CHECK-LABEL: section .R_PPC_REL14:
14 # CHECK: 100100f4: bt 2, 0x100100f8
16 .section .R_PPC_REL24,"ax",@progbits
19 # CHECK-LABEL: section .R_PPC_REL24:
22 .section .R_PPC_REL32,"ax",@progbits
25 # HEX-LABEL: section .R_PPC_REL32:
26 # HEX-NEXT: 10010008 00000004
28 .section .R_PPC_PLTREL24,"ax",@progbits
31 # CHECK-LABEL: section .R_PPC_PLTREL24:
34 .section .R_PPC_LOCAL24PC,"ax",@progbits
37 # CHECK-LABEL: section .R_PPC_LOCAL24PC: