1 #as: --pic --no-underscore --em=criself 2 #ld: --shared -m crislinux 3 #source: tls-ie-8.s 4 #source: tls128g.s 5 #source: tls-x.s 6 #objdump: -s -t -R -p -T 7 8 # DSO with a single R_CRIS_16_GOT_TPREL. Check that we have proper 9 # 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+1b8 memsz 0x0+1b8 flags r-x 16 LOAD off 0x0+1b8 vaddr 0x0+21b8 paddr 0x0+21b8 align 2\*\*13 17 filesz 0x0+10c memsz 0x0+10c flags rw- 18 DYNAMIC off 0x0+23c vaddr 0x0+223c paddr 0x0+223c align 2\*\*2 19 filesz 0x0+78 memsz 0x0+78 flags rw- 20 TLS off 0x0+1b8 vaddr 0x0+21b8 paddr 0x0+21b8 align 2\*\*2 21 filesz 0x0+84 memsz 0x0+84 flags r-- 22 23 Dynamic Section: 24 HASH 0x0+b4 25 STRTAB 0x0+17c 26 SYMTAB 0x0+ec 27 STRSZ 0x0+2b 28 SYMENT 0x0+10 29 RELA 0x0+1a8 30 RELASZ 0x0+c 31 RELAENT 0x0+c 32 FLAGS 0x0+10 33 private flags = 0: 34 35 SYMBOL TABLE: 36 #... 37 0+80 g \.tdata 0+4 x 38 #... 39 DYNAMIC SYMBOL TABLE: 40 #... 41 0+80 g D \.tdata 0+4 x 42 #... 43 44 DYNAMIC RELOCATION RECORDS 45 OFFSET TYPE VALUE 46 0+22c0 R_CRIS_32_TPREL x 47 48 Contents of section \.hash: 49 #... 50 Contents of section \.text: 51 01b4 5fae0c00 .* 52 #... 53 Contents of section \.got: 54 22b4 3c220+ 0+ 0+ 0+ .* 55