tls-legd-16.d 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #source: start1.s
  2. #source: tls128.s
  3. #source: tls-le-13.s
  4. #source: tls-gd-3.s
  5. #source: tls-legd-16.s
  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_32_TPREL and two R_CRIS_32_GD, different
  14. # symbols.
  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. 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. 82144 0+ 0+ 0+ 010+ .*
  38. 82154 80+ 010+ 840+ .*
  39. Disassembly of section \.text:
  40. 00080094 <_start>:
  41. 80094: 41b2 moveq 1,\$r11
  42. #...
  43. 00080098 <tlsfn13>:
  44. 80098: 6fae f8ff ffff move.d 0xfffffff8,\$r10
  45. 8009e: 6fae fcff ffff move.d 0xfffffffc,\$r10
  46. 000800a4 <tlsfn>:
  47. 800a4: 6fae 5021 0800 move.d 82150 <_GLOBAL_OFFSET_TABLE_\+0xc>,\$r10
  48. #...
  49. 000800ac <tlsfn16>:
  50. 800ac: 6fae 5821 0800 move.d 82158 <_GLOBAL_OFFSET_TABLE_\+0x14>,\$r10
  51. #...