1#as: --pic --no-underscore --em=criself 2#ld: --shared -m crislinux --hash-style=sysv 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 15 filesz 0x0+178 memsz 0x0+178 flags r-x 16 LOAD off 0x0+178 vaddr 0x0+2178 paddr 0x0+2178 align 2\*\*13 17 filesz 0x0+114 memsz 0x0+114 flags rw- 18 DYNAMIC off 0x0+200 vaddr 0x0+2200 paddr 0x0+2200 align 2\*\*2 19 filesz 0x0+78 memsz 0x0+78 flags rw- 20 TLS off 0x0+178 vaddr 0x0+2178 paddr 0x0+2178 align 2\*\*2 21 filesz 0x0+88 memsz 0x0+88 flags r-- 22 23Dynamic Section: 24 HASH 0x0+b4 25 STRTAB 0x0+140 26 SYMTAB 0x0+e0 27 STRSZ 0x0+18 28 SYMENT 0x0+10 29 RELA 0x0+158 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 500+2284 R_CRIS_32_TPREL x2 510+2288 R_CRIS_32_TPREL x1 52 53Contents of section \.hash: 54#... 55Contents of section \.text: 56 0170 5fae1000 5fbe0c00 .* 57#... 58Contents of section \.got: 59 2278 00220+ 0+ 0+ 0+ .* 60 2288 00000000 .* 61