Dynamic TLS section symbols
[external/binutils.git] / ld / testsuite / ld-cris / tls-dso-tpoffgotcomm1.d
1 #source: start1.s
2 #source: tls-dso-tpoffgotcomm1.s
3 #as: --no-underscore --pic --em=criself -I$srcdir/$subdir
4 #ld: -m crislinux -shared --hash-style=sysv
5 #objdump: -d -h -s -t -r -R -p
6
7 # Make sure we can link a file with TPOFFGOT relocs against common
8 # symbols.
9
10 .*:     file format elf32-cris
11
12 Program Header:
13     LOAD off    0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
14          filesz 0x0+164 memsz 0x0+164 flags r-x
15     LOAD off .*
16          filesz .*
17  DYNAMIC off .*
18          filesz .*
19      TLS off    .* vaddr .* paddr .* align 2\*\*2
20          filesz 0x0+ memsz 0x0+8 flags r--
21 #...
22 Sections:
23 #...
24   7 .got          0+14  0+21dc  0+21dc  0+1dc  2\*\*2
25                   CONTENTS, ALLOC, LOAD, DATA
26 SYMBOL TABLE:
27 #...
28 0+ g       \.tbss       0+4 foo
29 #...
30 0+4 g       \.tbss      0+4 bar
31
32 #...
33 Contents of section .got:
34  21dc 64210000 00000000 00000000 00000000  .*
35  21ec 00000000                             .*
36
37 Disassembly of section \.text:
38
39 0+154 <_start>:
40 .*:     41b2                    moveq 1,\$r11
41         \.\.\.
42
43 0+158 <do_test>:
44 .*:     2f0e 0c00 0000          add\.d c <bar\+0x8>,\$r0
45 .*:     1f1e 1000               add\.w 0x10,\$r1
46         \.\.\.