* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-cris / tls-ldgdx-15.d
blob8b0af3f73617c6bfce990923fd95ef0caa8b51a0
1 #source: tls128.s
2 #source: tls-ld-7.s
3 #source: tls-gd-2.s
4 #source: tls-ldgd-15.s
5 #source: tls-hx1x2.s
6 #as: --pic --no-underscore --em=criself
7 #ld: --shared -m crislinux tmpdir/tls-dso-xz-1.so
8 #objdump: -s -h -t -T -R -r -p
10 # Check that we have proper NPTL/TLS markings and GOT for two
11 # R_CRIS_32_GOT_GD and two R_CRIS_32_DTPRELs against different
12 # variables in a DSO, GD symbols defined elsewhere.
14 .*: file format elf32-cris
16 Program Header:
17 #...
18 TLS off .*
19 filesz 0x0+88 memsz 0x0+88 flags r--
21 Dynamic Section:
22 NEEDED tmpdir/tls-dso-xz-1.so
23 #...
24 private flags = 0:
25 #...
26 7 .got .*
27 CONTENTS.*
28 SYMBOL TABLE:
29 #...
30 0+ \*UND\* 0+ x
31 #...
32 0+ \*UND\* 0+ z
33 #...
34 DYNAMIC SYMBOL TABLE:
35 #...
36 0+ D \*UND\* 0+ x
37 #...
38 0+ D \*UND\* 0+ z
39 #...
40 DYNAMIC RELOCATION RECORDS
41 OFFSET TYPE VALUE
42 00002344 R_CRIS_DTPMOD \*ABS\*
43 0000234c R_CRIS_DTP x
44 00002354 R_CRIS_DTP z
46 Contents of section \.hash:
47 #...
48 Contents of section \.text:
49 021c 6fae8000 00006fbe 84000000 6fae1400 .*
50 022c 0+ 6fae1c00 0+ .*
51 Contents of section .tdata:
52 #...
53 Contents of section \.got:
54 2338 c0220+ 0+ 0+ 0+ .*
55 2348 0+ 0+ 0+ 0+ .*
56 2358 0+ .*