1 # The linker recognises that
if we have one IE access to a TLS symbol then all
2 # accesses to that symbol could be IE
. Here we are also interested to check
3 # the linker does
not also decide that a second access to that symbol could be
5 #source
: tls
-relax
-gd
-ie
-2.s
6 #target
: [check_shared_lib_support
]
7 #ld
: -shared -Bsymbolic
13 Disassembly of section \
.text
:
16 +[0-9a
-f
]+: d2800000
mov x0
, #
0x0 // #0
17 +[0-9a
-f
]+: d53bd041 mrs x1
, tpidr_el0
18 +[0-9a
-f
]+: .* adrp x0
, .*
19 +[0-9a
-f
]+: .* ldr x0
, \
[x0
, #
.*\
]
20 +[0-9a
-f
]+: b8606820 ldr w0
, \
[x1
, x0\
]
21 +[0-9a
-f
]+: d53bd041 mrs x1
, tpidr_el0
22 +[0-9a
-f
]+: 910003fd mov x29
, sp
23 +[0-9a
-f
]+: .* adrp x0
, .*
24 +[0-9a
-f
]+: .* ldr x0
, \
[x0
, #
.*\
]
25 +[0-9a
-f
]+: d503201f
nop
26 +[0-9a
-f
]+: d503201f
nop
27 +[0-9a
-f
]+: b8606820 ldr w0
, \
[x1
, x0\
]
28 +[0-9a
-f
]+: d65f03c0
ret