]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-cris/tls-ldgd-14.d
Define various symbols conditionally in shared libraries
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-cris / tls-ldgd-14.d
CommitLineData
bcae4342
HPN
1#source: tls128g.s
2#source: tls-ld-5.s
3#source: tls-gd-1.s
4#source: tls-ldgd-14.s
5#source: tls-x.s
6#source: tls-z.s
7#source: tls-hx1x2.s
8#as: --pic --no-underscore --em=criself
bab55c05 9#ld: --shared -m crislinux --hash-style=sysv
bcae4342
HPN
10#objdump: -s -t -R -p -T
11
12# Check that we have proper NPTL/TLS markings and GOT for two
13# R_CRIS_16_GOT_GD and two R_CRIS_16_DTPRELs against different
14# variables in a DSO.
15
16.*: file format elf32-cris
17
18Program Header:
19 LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
fd161d86
AM
20 filesz 0x0+1dc memsz 0x0+1dc flags r-x
21 LOAD off 0x0+1dc vaddr 0x0+21dc paddr 0x0+21dc align 2\*\*13
bcae4342 22 filesz 0x0+124 memsz 0x0+124 flags rw-
fd161d86 23 DYNAMIC off 0x0+26c vaddr 0x0+226c paddr 0x0+226c align 2\*\*2
bcae4342 24 filesz 0x0+70 memsz 0x0+70 flags rw-
fd161d86 25 TLS off 0x0+1dc vaddr 0x0+21dc paddr 0x0+21dc align 2\*\*2
bcae4342
HPN
26 filesz 0x0+90 memsz 0x0+90 flags r--
27
28Dynamic Section:
29 HASH 0x0+b4
fd161d86
AM
30 STRTAB 0x0+17c
31 SYMTAB 0x0+ec
32 STRSZ 0x0+2a
bcae4342 33 SYMENT 0x0+10
fd161d86 34 RELA 0x0+1a8
bcae4342
HPN
35 RELASZ 0x0+24
36 RELAENT 0x0+c
37private flags = 0:
38
39SYMBOL TABLE:
40#...
935bd1e0 410+8c l \.tdata 0+4 x2
bcae4342 42#...
935bd1e0 430+88 l \.tdata 0+4 x1
bcae4342
HPN
44#...
450+80 g \.tdata 0+4 x
46#...
470+84 g \.tdata 0+4 z
48#...
49DYNAMIC SYMBOL TABLE:
50#...
510+80 g D \.tdata 0+4 x
52#...
530+84 g D \.tdata 0+4 z
54#...
55
56DYNAMIC RELOCATION RECORDS
57OFFSET TYPE VALUE
fd161d86
AM
580+22e8 R_CRIS_DTPMOD \*ABS\*
590+22f0 R_CRIS_DTP x
600+22f8 R_CRIS_DTP z
bcae4342
HPN
61
62Contents of section \.hash:
63#...
64Contents of section \.text:
fd161d86 65 01cc 5fae8800 5fbe8c00 5fae1400 5fae1c00 .*
bcae4342
HPN
66Contents of section .tdata:
67#...
68Contents of section \.got:
fd161d86
AM
69 22dc 6c220+ 0+ 0+ 0+ .*
70 22ec 0+ 0+ 0+ 0+ .*
71 22fc 0+ .*