1 #source: start1.s 2 #source: tls128.s 3 #source: tls-leie-19.s 4 #source: tls-le-12.s 5 #source: tls-ie-11.s --pic 6 #source: tls-hx1x2.s 7 #source: tls-x.s 8 #source: tls-z.s 9 #as: --no-underscore --em=criself 10 #ld: -m crislinux 11 #objdump: -d -s -h -t -r -p 12 13 # Check that we have proper NPTL/TLS markings and GOT for an 14 # executable with two R_CRIS_32_TPREL and two R_CRIS_32_GOT_TPREL, 15 # four different symbols. 16 17 .*: file format elf32-cris 18 19 Program Header: 20 #... 21 TLS off 0x0+b4 vaddr 0x0+820b4 paddr 0x0+820b4 align 2\*\*2 22 filesz 0x0+90 memsz 0x0+90 flags r-- 23 private flags = 0: 24 #... 25 2 .got .* 26 CONTENTS.* 27 SYMBOL TABLE: 28 #... 29 0+84 l \.tdata 0+4 x2 30 #... 31 0+80 l \.tdata 0+4 x1 32 #... 33 0+88 g .tdata 0+4 x 34 #... 35 0+8c g .tdata 0+4 z 36 #... 37 Contents of section \.text: 38 #... 39 Contents of section \.got: 40 82144 0+ 0+ 0+ f4ffffff .* 41 82154 f0ffffff .* 42 43 Disassembly of section \.text: 44 45 00080094 <_start>: 46 80094: 41b2 moveq 1,\$r11 47 #... 48 00080098 <tlsfn19>: 49 80098: 6fae f8ff ffff move.d 0xfffffff8,\$r10 50 #... 51 52 000800a0 <tlsfn12>: 53 800a0: 6fae fcff ffff move.d 0xfffffffc,\$r10 54 #... 55 56 000800a8 <tlsdsofn>: 57 800a8: 6fae 1000 0000 move.d 10 <tls128\+0x10>,\$r10 58 800ae: 6fbe 0c00 0000 move.d c <tls128\+0xc>,\$r11 59