1 ;; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -filetype=obj %s -o - | \
2 ;; RUN: llvm-readobj -r | FileCheck %s
4 ;; FIXME: this file should be in .s form, change when asm parser is available.
6 @t = thread_local global i32 0, align 4
8 define i32* @f() nounwind {
13 ;; Check for a pair of R_PPC64_TPREL16_HA / R_PPC64_TPREL16_LO relocs
14 ;; against the thread-local symbol 't'.
15 ;; CHECK: Relocations [
16 ;; CHECK: Section ({{[0-9]+}}) .text {
17 ;; CHECK-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TPREL16_HA t
18 ;; CHECK-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TPREL16_LO t