aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/weak-tls.s
blob: 3520a85589c786566c7da7d321f6077ac3d8f2c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
        .global get
        .type   get, %function
	.global dtl
	.weak dtl
get:
.LFB0:
        mrs     x0, tpidr_el0
        add     x0, x0, #:tprel_hi12:tls, lsl #12
        add     x0, x0, #:tprel_lo12_nc:tls
	add	x0, x0, #:dtprel_hi12:dtl
	add	x0, x0, #:dtprel_lo12:dtl
        ret
.LFE0:
        .size   get, .-get
        .weak   tls