1 #as: --pic --no-underscore --em=criself 2 #ld: --shared -m crislinux 3 #source: tls-gd-2.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_32_GOT_GD. 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+1bc memsz 0x0+1bc flags r-x 16 LOAD off 0x0+1bc vaddr 0x0+21bc paddr 0x0+21bc align 2\*\*13 17 filesz 0x0+108 memsz 0x0+108 flags rw- 18 DYNAMIC off 0x0+240 vaddr 0x0+2240 paddr 0x0+2240 align 2\*\*2 19 filesz 0x0+70 memsz 0x0+70 flags rw- 20 TLS off 0x0+1bc vaddr 0x0+21bc paddr 0x0+21bc 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+2c 28 SYMENT 0x0+10 29 RELA 0x0+1a8 30 RELASZ 0x0+c 31 RELAENT 0x0+c 32 private flags = 0: 33 34 SYMBOL TABLE: 35 #... 36 0+80 g \.tdata 0+4 x 37 #... 38 DYNAMIC SYMBOL TABLE: 39 #... 40 0+80 g D \.tdata 0+4 x 41 #... 42 43 DYNAMIC RELOCATION RECORDS 44 OFFSET TYPE VALUE 45 0+22bc R_CRIS_DTP x 46 47 Contents of section \.hash: 48 #... 49 Contents of section \.text: 50 01b4 6fae0c00 00000000 .* 51 #... 52 Contents of section \.got: 53 22b0 40220+ 0+ 0+ 0+ .* 54 22c0 0+ .* 55