AArch64: Fix LD crash on weak and undefined TLS symbols. (PR/24602).
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / weak-tls.s
1 .global get
2 .type get, %function
3 .global dtl
4 .weak dtl
5 get:
6 .LFB0:
7 mrs x0, tpidr_el0
8 add x0, x0, #:tprel_hi12:tls, lsl #12
9 add x0, x0, #:tprel_lo12_nc:tls
10 add x0, x0, #:dtprel_hi12:dtl
11 add x0, x0, #:dtprel_lo12:dtl
12 ret
13 .LFE0:
14 .size get, .-get
15 .weak tls
16
This page took 0.042304 seconds and 4 git commands to generate.