tls-legd-17.d 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #source: start1.s
  2. #source: tls128.s
  3. #source: tls-le-13s.s
  4. #source: tls-gd-2.s --pic
  5. #source: tls-ldgd-14.s --pic
  6. #source: tls-x.s
  7. #source: tls-z.s
  8. #source: tls-x1x2.s
  9. #as: --no-underscore --em=criself
  10. #ld: -m crislinux
  11. #objdump: -d -s -h -t -r -p
  12. # Check that we have proper NPTL/TLS markings and GOT for an
  13. # executable with two R_CRIS_16_TPREL a R_CRIS_32_GOT_GD and a
  14. # R_CRIS_16_GOT_GD, different symbols.
  15. .*: file format elf32-cris
  16. Program Header:
  17. #...
  18. TLS off 0x0+ac vaddr 0x0+820ac paddr 0x0+820ac align 2\*\*2
  19. filesz 0x0+90 memsz 0x0+90 flags r--
  20. private flags = 0:
  21. #...
  22. 2 .got .*
  23. CONTENTS.*
  24. SYMBOL TABLE:
  25. #...
  26. 0+80 g \.tdata 0+4 x
  27. #...
  28. 0+8c g \.tdata 0+4 x2
  29. #...
  30. 0+84 g \.tdata 0+4 z
  31. #...
  32. 0+88 g \.tdata 0+4 x1
  33. #...
  34. Contents of section \.text:
  35. #...
  36. Contents of section \.got:
  37. 8213c 0+ 0+ 0+ 010+ .*
  38. 8214c 80+ 010+ 840+ .*
  39. Disassembly of section \.text:
  40. 00080094 <_start>:
  41. 80094: 41b2 moveq 1,\$r11
  42. #...
  43. 00080098 <tlsfn13>:
  44. 80098: 5fae f8ff move.w 0xfff8,\$r10
  45. 8009c: 5fae fcff move.w 0xfffc,\$r10
  46. 000800a0 <tlsdsofn2>:
  47. 800a0: 6fae 0c00 0000 move.d c <tls128\+0xc>,\$r10
  48. #...
  49. 000800a8 <tlsdsofn14>:
  50. 800a8: 5fae 1400 move.w 0x14,\$r10