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
9 # RUN: llvm-objdump -s %t | FileCheck %s --check-prefix=HEX
11 .section .R_PPC_REL14,"ax",@progbits
14 # CHECK-LABEL: section .R_PPC_REL14:
15 # CHECK: 100100f4: bt 2, 0x100100f8
17 .section .R_PPC_REL24,"ax",@progbits
20 # CHECK-LABEL: section .R_PPC_REL24:
23 .section .R_PPC_REL32,"ax",@progbits
26 # HEX-LABEL: section .R_PPC_REL32:
29 .section .R_PPC_PLTREL24,"ax",@progbits
32 # CHECK-LABEL: section .R_PPC_PLTREL24:
35 .section .R_PPC_LOCAL24PC,"ax",@progbits
38 # CHECK-LABEL: section .R_PPC_LOCAL24PC: