tls-ldgde-15.d 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #source: start1.s
  2. #source: tls128.s
  3. #source: tls-ld-7.s
  4. #source: tls-gd-2.s
  5. #source: tls-ldgd-15.s
  6. #source: tls-x.s
  7. #source: tls-z.s
  8. #source: tls-hx1x2.s
  9. #as: --pic --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 two
  13. # R_CRIS_32_GOT_GD and two R_CRIS_32_DTPRELs against different
  14. # variables, for an executable.
  15. .*: file format elf32-cris
  16. Program Header:
  17. #...
  18. TLS off 0x0+b4 vaddr 0x0+820b4 paddr 0x0+820b4 align 2\*\*2
  19. filesz 0x0+90 memsz 0x0+90 flags r--
  20. private flags = 0:
  21. #...
  22. 1 .tdata .*
  23. CONTENTS.*
  24. 2 .got .*
  25. CONTENTS.*
  26. SYMBOL TABLE:
  27. #...
  28. 0+80 g \.tdata 0+4 x
  29. #...
  30. 0+8c g .tdata 00000004 \.hidden x2
  31. #...
  32. 0+84 g \.tdata 0+4 z
  33. #...
  34. 0+88 g .tdata 00000004 \.hidden x1
  35. #...
  36. Contents of section \.text:
  37. #...
  38. Contents of section \.tdata:
  39. #...
  40. Contents of section \.got:
  41. 82144 00000000 00000000 00000000 01000000 .*
  42. 82154 00000000 01000000 80000000 01000000 .*
  43. 82164 84000000 .*
  44. Disassembly of section \.text:
  45. 00080094 <_start>:
  46. 80094: 41b2 moveq 1,\$r11
  47. #...
  48. 00080098 <tlsdsofn>:
  49. 80098: 6fae 8800 0000 move.d 88 <x1>,\$r10
  50. 8009e: 6fbe 8c00 0000 move.d 8c <x2>,\$r11
  51. 000800a4 <tlsdsofn2>:
  52. 800a4: 6fae 1400 0000 move.d 14 <tls128\+0x14>,\$r10
  53. #...
  54. 000800ac <tlsdsofn14>:
  55. 800ac: 6fae 1c00 0000 move.d 1c <tls128\+0x1c>,\$r10
  56. #...