]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-cris/tls-ldgdex-15.d
Define various symbols conditionally in shared libraries
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-cris / tls-ldgdex-15.d
CommitLineData
bcae4342
HPN
1#source: start1.s
2#source: tls128.s
3#source: tls-ld-7.s
4#source: tls-gd-2.s
5#source: tls-ldgd-15.s
6#source: tls-hx1x2.s
7#as: --pic --no-underscore --em=criself
c7dffc39 8#ld: -m crislinux tmpdir/tls-dso-xz-1.so --hash-style=sysv
bcae4342
HPN
9#objdump: -s -h -t -T -R -r -p
10
11# Check that we have proper NPTL/TLS markings and GOT for two
12# R_CRIS_32_GOT_GD and two R_CRIS_32_DTPRELs against different
13# variables, for an executable, GD symbols defined elsewhere.
14
15.*: file format elf32-cris
16
17Program Header:
18#...
19 TLS off .*
20 filesz 0x0+88 memsz 0x0+88 flags r--
21
22Dynamic Section:
23 NEEDED tmpdir/tls-dso-xz-1.so
24#...
25private flags = 0:
26#...
27 8 .got .*
28 CONTENTS.*
29SYMBOL TABLE:
30#...
310+ \*UND\* 0+ x
32#...
330+ \*UND\* 0+ z
34#...
35DYNAMIC SYMBOL TABLE:
360+ D \*UND\* 0+ x
370+ D \*UND\* 0+ z
38#...
39DYNAMIC RELOCATION RECORDS
40OFFSET TYPE VALUE
fd161d86
AM
41000822bc R_CRIS_DTP x
42000822c4 R_CRIS_DTP z
bcae4342
HPN
43
44Contents of section \.interp:
45#...
46Contents of section \.text:
fd161d86
AM
47 80180 41b20000 6fae8000 00006fbe 84000000 .*
48 80190 6fae1400 00000000 6fae1c00 00000000 .*
bcae4342
HPN
49Contents of section \.tdata:
50#...
51Contents of section \.got:
fd161d86
AM
52 822a8 28220800 0+ 0+ 010+ .*
53 822b8 0+ 0+ 0+ 0+ .*
54 822c8 0+ .*