]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-cris/tls-ie-9.d
Define various symbols conditionally in shared libraries
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-cris / tls-ie-9.d
CommitLineData
bcae4342 1#as: --pic --no-underscore --em=criself
bab55c05 2#ld: --shared -m crislinux --hash-style=sysv
bcae4342
HPN
3#source: tls-ie-9.s
4#source: tls128g.s
5#source: tls-x1x2.s
6#objdump: -s -t -R -p -T
7
8# DSO with two R_CRIS_16_GOT_TPREL against different symbols. Check
9# that we have proper NPTL/TLS markings and GOT.
10
11.*: file format elf32-cris
12
13Program Header:
14 LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
fd161d86
AM
15 filesz 0x0+18c memsz 0x0+18c flags r-x
16 LOAD off 0x0+18c vaddr 0x0+218c paddr 0x0+218c align 2\*\*13
bcae4342 17 filesz 0x0+114 memsz 0x0+114 flags rw-
fd161d86 18 DYNAMIC off 0x0+214 vaddr 0x0+2214 paddr 0x0+2214 align 2\*\*2
bcae4342 19 filesz 0x0+78 memsz 0x0+78 flags rw-
fd161d86 20 TLS off 0x0+18c vaddr 0x0+218c paddr 0x0+218c align 2\*\*2
bcae4342
HPN
21 filesz 0x0+88 memsz 0x0+88 flags r--
22
23Dynamic Section:
24 HASH 0x0+b4
fd161d86
AM
25 STRTAB 0x0+154
26 SYMTAB 0x0+e4
27 STRSZ 0x0+18
bcae4342 28 SYMENT 0x0+10
fd161d86 29 RELA 0x0+16c
bcae4342
HPN
30 RELASZ 0x0+18
31 RELAENT 0x0+c
32 FLAGS 0x0+10
33private flags = 0:
34
35SYMBOL TABLE:
36#...
370+84 g \.tdata 0+4 x2
38#...
390+80 g \.tdata 0+4 x1
40#...
41DYNAMIC SYMBOL TABLE:
42#...
430+84 g D \.tdata 0+4 x2
44#...
450+80 g D \.tdata 0+4 x1
46#...
47
48DYNAMIC RELOCATION RECORDS
49OFFSET TYPE VALUE
fd161d86
AM
500+2298 R_CRIS_32_TPREL x2
510+229c R_CRIS_32_TPREL x1
bcae4342
HPN
52
53Contents of section \.hash:
54#...
55Contents of section \.text:
fd161d86 56 0184 5fae1000 5fbe0c00 .*
bcae4342
HPN
57#...
58Contents of section \.got:
fd161d86
AM
59 228c 14220+ 0+ 0+ 0+ .*
60 229c 00000000 .*