1 #source: tls128g.s 2 #source: tls-ld-5.s 3 #source: tls-gd-1.s 4 #source: tls-ldgd-14.s 5 #source: tls-x.s 6 #source: tls-z.s 7 #source: tls-hx1x2.s 8 #as: --pic --no-underscore --em=criself 9 #ld: --shared -m crislinux 10 #objdump: -s -t -R -p -T 11 12 # Check that we have proper NPTL/TLS markings and GOT for two 13 # R_CRIS_16_GOT_GD and two R_CRIS_16_DTPRELs against different 14 # variables in a DSO. 15 16 .*: file format elf32-cris 17 18 Program Header: 19 LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13 20 filesz 0x0+230 memsz 0x0+230 flags r-x 21 LOAD off 0x0+230 vaddr 0x0+2230 paddr 0x0+2230 align 2\*\*13 22 filesz 0x0+124 memsz 0x0+124 flags rw- 23 DYNAMIC off 0x0+2c0 vaddr 0x0+22c0 paddr 0x0+22c0 align 2\*\*2 24 filesz 0x0+70 memsz 0x0+70 flags rw- 25 TLS off 0x0+230 vaddr 0x0+2230 paddr 0x0+2230 align 2\*\*2 26 filesz 0x0+90 memsz 0x0+90 flags r-- 27 28 Dynamic Section: 29 HASH 0x0+b4 30 STRTAB 0x0+1b8 31 SYMTAB 0x0+f8 32 STRSZ 0x0+42 33 SYMENT 0x0+10 34 RELA 0x0+1fc 35 RELASZ 0x0+24 36 RELAENT 0x0+c 37 private flags = 0: 38 39 SYMBOL TABLE: 40 #... 41 0+8c l \.tdata 0+4 x2 42 #... 43 0+88 l \.tdata 0+4 x1 44 #... 45 0+80 g \.tdata 0+4 x 46 #... 47 0+84 g \.tdata 0+4 z 48 #... 49 DYNAMIC SYMBOL TABLE: 50 #... 51 0+80 g D \.tdata 0+4 x 52 #... 53 0+84 g D \.tdata 0+4 z 54 #... 55 56 DYNAMIC RELOCATION RECORDS 57 OFFSET TYPE VALUE 58 0+233c R_CRIS_DTPMOD \*ABS\* 59 0+2344 R_CRIS_DTP x 60 0+234c R_CRIS_DTP z 61 62 Contents of section \.hash: 63 #... 64 Contents of section \.text: 65 0220 5fae8800 5fbe8c00 5fae1400 5fae1c00 .* 66 Contents of section .tdata: 67 #... 68 Contents of section \.got: 69 2330 c0220+ 0+ 0+ 0+ .* 70 2340 0+ 0+ 0+ 0+ .* 71 2350 0+ .* 72