* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-cris / tls-legdx-17.d
blob1d1c5ea800752d6c122c045b58a9a5749a65d456
1 #source: start1.s
2 #source: tls128.s
3 #source: tls-le-13s.s
4 #source: tls-gd-2.s --pic
5 #source: tls-ldgd-14.s --pic
6 #source: tls-x1x2.s
7 #as: --no-underscore --em=criself
8 #ld: -m crislinux tmpdir/tls-dso-xz-1.so
9 #objdump: -s -h -t -T -R -r -p
11 # Check that we have proper NPTL/TLS markings and GOT for an
12 # executable with two R_CRIS_16_TPREL a R_CRIS_32_GOT_GD and a
13 # R_CRIS_16_GOT_GD, different symbols, GD symbols defined elsewhere.
15 .*: file format elf32-cris
17 Program Header:
18 #...
19 TLS off .*
20 filesz 0x0+88 memsz 0x0+88 flags r--
21 Dynamic Section:
22 NEEDED tmpdir/tls-dso-xz-1.so
23 #...
24 private flags = 0:
26 #...
27 8 .got .*
28 CONTENTS.*
29 SYMBOL TABLE:
30 #...
31 0+ \*UND\* 0+ x
32 #...
33 0+ \*UND\* 0+ z
34 #...
35 DYNAMIC SYMBOL TABLE:
36 #...
37 0+ D \*UND\* 0+ x
38 #...
39 0+ D \*UND\* 0+ z
40 #...
41 DYNAMIC RELOCATION RECORDS
42 OFFSET TYPE VALUE
43 00082308 R_CRIS_DTP x
44 00082310 R_CRIS_DTP z
46 Contents of section .interp:
47 #...
48 Contents of section \.text:
49 801dc 41b20000 5faef8ff 5faefcff 6fae0c00 .*
50 801ec 00000000 5fae1400 .*
51 #...
52 Contents of section \.got:
53 822fc 7c220800 0+ 0+ 0+ .*
54 8230c 0+ 0+ 0+ .*