summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/tls-gd-symbolic.d
blob: d6732acdaf1543ffd51fe23d0da5633ecbe04d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Testcase to show that -Bsymbolic does not trigger any relaxation from general
# dynamic or initial exec for global symbols.
#target: [check_shared_lib_support]
#ld: -shared -Bsymbolic
#objdump: -d -j .text

.*:     file format .*


Disassembly of section \.text:

[0-9a-f]+ <_test_tls_desc>:
 +[0-9a-f]+:	........ 	adrp	x0, .*
 +[0-9a-f]+:	........ 	ldr	x1, \[x0, #.*\]
 +[0-9a-f]+:	........ 	add	x0, x0, .*
 +[0-9a-f]+:	d63f0020 	blr	x1

[0-9a-f]+ <_test_tls_desc2>:
 +[0-9a-f]+:	........ 	adrp	x0, .*
 +[0-9a-f]+:	........ 	ldr	x0, \[x0, #.*\]