aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlslib.s
blob: 59c40d2089903aec6ef5349f036773e0ea0d8128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	.global __tls_get_addr,__tls_get_addr_opt,gd,ld
	.type __tls_get_addr,@function
	.type __tls_get_addr_opt,@function

	.section ".opd","aw",@progbits
__tls_get_addr:
__tls_get_addr_opt:
	.align 3
	.quad	.L.__tls_get_addr
	.quad	.TOC.@tocbase
	.quad	0

	.section ".tbss","awT",@nobits
	.align 3
gd:	.space 8

	.section ".tdata","awT",@progbits
	.align 2
ld:	.long 0xc0ffee

	.text
.L.__tls_get_addr:
	blr
	.size __tls_get_addr,. - .L.__tls_get_addr