* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-cris / tls-ld-4.d
blob2ac3d71cb5785f3a76ba3d5c3f127ca4c5f52d35
1 #as: --pic --no-underscore --em=criself
2 #ld: --shared -m crislinux
3 #source: tls-ld-4.s
4 #source: tls128g.s
5 #source: tls-hx.s
6 #objdump: -s -t -R -p
8 # DSO with a single R_CRIS_16_DTPREL against a hidden symbol. Check
9 # that we have proper NPTL/TLS markings and GOT.
11 .*: file format elf32-cris
13 Program Header:
14 LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
15 filesz 0x0+1a4 memsz 0x0+1a4 flags r-x
16 LOAD off 0x0+1a4 vaddr 0x0+21a4 paddr 0x0+21a4 align 2\*\*13
17 filesz 0x0+108 memsz 0x0+108 flags rw-
18 DYNAMIC off 0x0+228 vaddr 0x0+2228 paddr 0x0+2228 align 2\*\*2
19 filesz 0x0+70 memsz 0x0+70 flags rw-
20 TLS off 0x0+1a4 vaddr 0x0+21a4 paddr 0x0+21a4 align 2\*\*2
21 filesz 0x0+84 memsz 0x0+84 flags r--
23 Dynamic Section:
24 HASH 0x0+b4
25 STRTAB 0x0+168
26 SYMTAB 0x0+e8
27 STRSZ 0x0+29
28 SYMENT 0x0+10
29 RELA 0x0+194
30 RELASZ 0x0+c
31 RELAENT 0x0+c
32 private flags = 0:
34 SYMBOL TABLE:
35 #...
36 0+80 l \.tdata 0+4 x
37 #...
39 DYNAMIC RELOCATION RECORDS
40 OFFSET TYPE VALUE
41 0+22a4 R_CRIS_DTPMOD \*ABS\*
43 Contents of section \.hash:
44 #...
45 Contents of section \.text:
46 01a0 5fae8000 .*
47 #...
48 Contents of section \.got:
49 2298 28220+ 0+ 0+ 0+ .*
50 22a8 0+ .*