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    df \*ABS\*	0+
20 0+9000 l     O \.got	0+ _GLOBAL_OFFSET_TABLE_
21 0+8000 g       \.text	0+ _start
22 
23 Contents of section .text:
24  8000 1f2003d5                             .*
25 Contents of section .got:
26  9000 0+ 0+ 0+ 0+  .*
27  9010 0+ 0+ 0+ 0+  .*
28 
29 Disassembly of section .text:
30 
31 0+8000 \<_start>:
32     8000:	d503201f 	nop
33 
34