* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-cris / tls-gd-2.d
blob2f2546e6b6bdc254c53d0a8474c6765e69780fd3
1 #as: --pic --no-underscore --em=criself
2 #ld: --shared -m crislinux
3 #source: tls-gd-2.s
4 #source: tls128g.s
5 #source: tls-x.s
6 #objdump: -s -t -R -p -T
8 # DSO with a single R_CRIS_32_GOT_GD. Check that we have proper
9 # 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+1bc memsz 0x0+1bc flags r-x
16 LOAD off 0x0+1bc vaddr 0x0+21bc paddr 0x0+21bc align 2\*\*13
17 filesz 0x0+108 memsz 0x0+108 flags rw-
18 DYNAMIC off 0x0+240 vaddr 0x0+2240 paddr 0x0+2240 align 2\*\*2
19 filesz 0x0+70 memsz 0x0+70 flags rw-
20 TLS off 0x0+1bc vaddr 0x0+21bc paddr 0x0+21bc align 2\*\*2
21 filesz 0x0+84 memsz 0x0+84 flags r--
23 Dynamic Section:
24 HASH 0x0+b4
25 STRTAB 0x0+17c
26 SYMTAB 0x0+ec
27 STRSZ 0x0+2c
28 SYMENT 0x0+10
29 RELA 0x0+1a8
30 RELASZ 0x0+c
31 RELAENT 0x0+c
32 private flags = 0:
34 SYMBOL TABLE:
35 #...
36 0+80 g \.tdata 0+4 x
37 #...
38 DYNAMIC SYMBOL TABLE:
39 #...
40 0+80 g D \.tdata 0+4 x
41 #...
43 DYNAMIC RELOCATION RECORDS
44 OFFSET TYPE VALUE
45 0+22bc R_CRIS_DTP x
47 Contents of section \.hash:
48 #...
49 Contents of section \.text:
50 01b4 6fae0c00 00000000 .*
51 #...
52 Contents of section \.got:
53 22b0 40220+ 0+ 0+ 0+ .*
54 22c0 0+ .*