Home | History | Annotate | Download | only in PowerPC
      1 # RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj %s | \
      2 # RUN: llvm-readobj -r | FileCheck %s
      3 
      4         .text
      5         addis 3, 13, t@tprel@ha
      6         addi 3, 3, t@tprel@l
      7 
      8         .type t,@object
      9         .section .tbss,"awT",@nobits
     10         .globl t
     11         .align 2
     12 t:
     13         .long 0
     14         .size t, 4
     15 
     16 # Check for a pair of R_PPC64_TPREL16_HA / R_PPC64_TPREL16_LO relocs
     17 # against the thread-local symbol 't'.
     18 # CHECK:      Relocations [
     19 # CHECK:        Section ({{[0-9]+}}) .rela.text {
     20 # CHECK-NEXT:     0x{{[0-9,A-F]+}} R_PPC64_TPREL16_HA t
     21 # CHECK-NEXT:     0x{{[0-9,A-F]+}} R_PPC64_TPREL16_LO t
     22 # CHECK-NEXT:   }
     23