aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/gc-tls-relocs.d
blob: 38637dce07c9fba03f818f71684e4ed3ac0f8a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#source: gc-start.s
#source: gc-relocs-tlsgd.s
#source: gc-relocs-tlsdesc.s
#source: gc-relocs-tlsie.s
#source: gc-relocs-tlsle.s
#ld: --gc-sections -T aarch64.ld
#objdump: -s -t -d

# Executable with tls related relocs against global and local symbol gced.
# After gc-section removal we are cheking that symbols and got section do
# not exist and text section contains only start function.

.*:     file format elf64-(little|big)aarch64

SYMBOL TABLE:
0+8000 l    d  \.text	0+ \.text
0+0000 l    df \*ABS\*	0+ .*
0+8000 g       \.text	0+ _start

Contents of section .text:
 8000 1f2003d5                             .*

Disassembly of section .text:

0+8000 \<_start>:
    8000:	d503201f 	nop