1# REQUIRES: ppc 2# RUN: llvm-mc -filetype=obj -triple=powerpc %s -o %t.o 3# RUN: ld.lld %t.o -o %t 4# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s 5 6.section .R_PPC_REL14,"ax",@progbits 7 beq 1f 81: 9# CHECK-LABEL: section .R_PPC_REL14: 10# CHECK: 100100b4: bt 2, 0x100100b8 11 12.section .R_PPC_REL24,"ax",@progbits 13 b 1f 141: 15# CHECK-LABEL: section .R_PPC_REL24: 16# CHECK: b 0x100100bc 17 18.section .R_PPC_REL32,"ax",@progbits 19 .long 1f - . 201: 21# HEX-LABEL: section .R_PPC_REL32: 22# HEX-NEXT: 10010008 00000004 23 24.section .R_PPC_PLTREL24,"ax",@progbits 25 b 1f@PLT+32768 261: 27# CHECK-LABEL: section .R_PPC_PLTREL24: 28# CHECK: b 0x100100c4 29 30.section .R_PPC_LOCAL24PC,"ax",@progbits 31 b 1f@local 321: 33# CHECK-LABEL: section .R_PPC_LOCAL24PC: 34# CHECK: b 0x100100c8 35