1# RUN: llvm-mc -triple=powerpc-unknown-linux-gnu -filetype=obj %s | \ 2# RUN: llvm-readobj -r | FileCheck %s 3 .section .text 4 5 .globl foo 6 .type foo,@function 7 .align 2 8foo: 9 bl printf@plt 10 bl _GLOBAL_OFFSET_TABLE_@local-4 11.LC1: 12 .size foo, . - foo 13 14# CHECK: Relocations [ 15# CHECK-NEXT: Section {{.*}} .rela.text { 16# CHECK-NEXT: 0x0 R_PPC_PLTREL24 printf 0x0 17# CHECK-NEXT: 0x4 R_PPC_LOCAL24PC _GLOBAL_OFFSET_TABLE_ 0xFFFFFFFC 18# CHECK-NEXT: } 19# CHECK-NEXT: ] 20