Add 2 tests for PR ld/11812.
[binutils.git] / ld / testsuite / ld-cris / tls-ie-11.d
blobd326fbe73979d38966eb07e619e83a6e9d7a6e8f
1 #as: --pic --no-underscore --em=criself
2 #ld: --shared -m crislinux
3 #source: tls-ie-11.s
4 #source: tls128g.s
5 #source: tls-x1x2.s
6 #objdump: -s -t -R -p -T
8 # DSO with two R_CRIS_32_GOT_TPREL against different symbols. 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+1e4 memsz 0x0+1e4 flags r-x
16 LOAD off 0x0+1e4 vaddr 0x0+21e4 paddr 0x0+21e4 align 2\*\*13
17 filesz 0x0+114 memsz 0x0+114 flags rw-
18 DYNAMIC off 0x0+26c vaddr 0x0+226c paddr 0x0+226c align 2\*\*2
19 filesz 0x0+78 memsz 0x0+78 flags rw-
20 TLS off 0x0+1e4 vaddr 0x0+21e4 paddr 0x0+21e4 align 2\*\*2
21 filesz 0x0+88 memsz 0x0+88 flags r--
23 Dynamic Section:
24 HASH 0x0+b4
25 STRTAB 0x0+190
26 SYMTAB 0x0+f0
27 STRSZ 0x0+2f
28 SYMENT 0x0+10
29 RELA 0x0+1c0
30 RELASZ 0x0+18
31 RELAENT 0x0+c
32 FLAGS 0x0+10
33 private flags = 0:
35 SYMBOL TABLE:
36 #...
37 0+84 g \.tdata 0+4 x2
38 #...
39 0+80 g \.tdata 0+4 x1
40 #...
41 DYNAMIC SYMBOL TABLE:
42 #...
43 0+84 g D \.tdata 0+4 x2
44 #...
45 0+80 g D \.tdata 0+4 x1
46 #...
48 DYNAMIC RELOCATION RECORDS
49 OFFSET TYPE VALUE
50 0+22f0 R_CRIS_32_TPREL x2
51 0+22f4 R_CRIS_32_TPREL x1
53 Contents of section \.hash:
54 #...
55 Contents of section \.text:
56 01d8 6fae1000 00006fbe 0c000000 .*
57 #...
58 Contents of section \.got:
59 22e4 6c220+ 0+ 0+ 0+ .*
60 22f4 00000000 .*