1 #as: --pic --no-underscore --em=criself 2 #ld: --shared -m crislinux 3 #source: tls-gd-1.s 4 #source: tls128.s 5 #source: tls-x.s 6 #objdump: -s -t -R -p -T 7 8 # DSO with a single R_CRIS_16_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+1a0 memsz 0x0+1a0 flags r-x 16 LOAD off 0x0+1a0 vaddr 0x0+21a0 paddr 0x0+21a0 align 2\*\*13 17 filesz 0x0+108 memsz 0x0+108 flags rw- 18 DYNAMIC off 0x0+224 vaddr 0x0+2224 paddr 0x0+2224 align 2\*\*2 19 filesz 0x0+70 memsz 0x0+70 flags rw- 20 TLS off 0x0+1a0 vaddr 0x0+21a0 paddr 0x0+21a0 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+25 28 SYMENT 0x0+10 29 RELA 0x0+190 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+22a0 R_CRIS_DTP x 46 47 Contents of section \.hash: 48 #... 49 Contents of section \.text: 50 019c 5fae0c00 .* 51 #... 52 Contents of section \.got: 53 2294 24220+ 0+ 0+ 0+ .* 54 22a4 0+ .* 55