1 #source: gc-start.s
2 #source: gc-relocs-tlsgd.s
3 #source: gc-relocs-tlsdesc.s
4 #source: gc-relocs-tlsie.s
5 #source: gc-relocs-tlsle.s
6 #ld: --gc-sections -T aarch64.ld
7 #objdump: -s -t -d
8 
9 # Executable with tls related relocs against global and local symbol gced.
10 # After gc-section removal we are cheking that symbols does not exit
11 # got section is empty and text section contains only start function.
12 
13 .*:     file format elf64-(little|big)aarch64
14 
15 SYMBOL TABLE:
16 0+8000 l    d  \.text	0+ \.text
17 0+9000 l    d  \.got	0+ \.got
18 0+0000 l    df \*ABS\*	0+ .*
19 0+0000 l       \*UND\*	0+ __tls_get_addr
20 0+0000 l    df \*ABS\*	0+
21 0+9000 l     O \.got	0+ _GLOBAL_OFFSET_TABLE_
22 0+8000 g       \.text	0+ _start
23 
24 Contents of section .text:
25  8000 1f2003d5                             .*
26 Contents of section .got:
27  9000 0+ 0+ 0+ 0+  .*
28  9010 0+ 0+ 0+ 0+  .*
29 
30 Disassembly of section .text:
31 
32 0+8000 \<_start>:
33     8000:	d503201f 	nop
34 
35