1 #as: --pic --no-underscore --em=criself -I$srcdir/$subdir 2 #ld: --shared -m crislinux 3 #source: tls128g.s 4 #source: tls-ld-6.s 5 #source: tls-hx.s 6 #objdump: -s -t -R -p 7 8 # DSO with a single R_CRIS_32_DTPREL against a hidden symbol. Check 9 # that we have proper NPTL/TLS markings and GOT. 10 11 .*: file format elf32-cris 12 13 Program Header: 14 LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13 15 filesz 0x0+1a8 memsz 0x0+1a8 flags r-x 16 LOAD off 0x0+1a8 vaddr 0x0+21a8 paddr 0x0+21a8 align 2\*\*13 17 filesz 0x0+108 memsz 0x0+108 flags rw- 18 DYNAMIC off 0x0+22c vaddr 0x0+222c paddr 0x0+222c align 2\*\*2 19 filesz 0x0+70 memsz 0x0+70 flags rw- 20 TLS off 0x0+1a8 vaddr 0x0+21a8 paddr 0x0+21a8 align 2\*\*2 21 filesz 0x0+84 memsz 0x0+84 flags r-- 22 23 Dynamic Section: 24 HASH 0x0+b4 25 STRTAB 0x0+168 26 SYMTAB 0x0+e8 27 STRSZ 0x0+29 28 SYMENT 0x0+10 29 RELA 0x0+194 30 RELASZ 0x0+c 31 RELAENT 0x0+c 32 private flags = 0: 33 34 SYMBOL TABLE: 35 #... 36 0+80 l \.tdata 0+4 x 37 #... 38 39 DYNAMIC RELOCATION RECORDS 40 OFFSET TYPE VALUE 41 0+22a8 R_CRIS_DTPMOD \*ABS\* 42 43 Contents of section \.hash: 44 #... 45 Contents of section \.text: 46 01a0 6fae8000 00000000 .* 47 #... 48 Contents of section \.got: 49 229c 2c220+ 0+ 0+ 0+ .* 50 22ac 0+ .* 51