aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tls32ldgd.s
blob: 889eb444c6afd8e785b4c8302770cf91cbdb5268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#PR 30697
	.section ".tbss","awT",@nobits
	.global _start,x
	.hidden x
	.align 2
x:	.space 4

	.text
_start:
 addi 3,30,x@got@tlsgd
 bl __tls_get_addr(x@tlsgd)@plt

 addi 3,30,x@got@tlsld
 bl __tls_get_addr(x@tlsld)@plt
 addis 3,3,x@dtprel@ha
 addi 3,3,x@dtprel@l