/project/binutils/ld/testsuite/ld-cris/tls-leie-19.d

https://gitlab.com/torshie/modern-tool · D · 58 lines · 51 code · 7 blank · 0 comment · 1 complexity · 14265ec140d4a3e86f2ac5ff3c9d401e MD5 · raw file

  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. # 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_GOT_TPREL,
  14. # four different 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+88 g .tdata 0+4 x
  27. #...
  28. 0+84 g \.tdata 0+4 \.hidden x2
  29. #...
  30. 0+8c g .tdata 0+4 z
  31. #...
  32. 0+80 g \.tdata 0+4 \.hidden x1
  33. #...
  34. Contents of section \.text:
  35. #...
  36. Contents of section \.got:
  37. 82144 0+ 0+ 0+ f4ffffff .*
  38. 82154 f0ffffff .*
  39. Disassembly of section \.text:
  40. 00080094 <_start>:
  41. 80094: 41b2 moveq 1,\$r11
  42. #...
  43. 00080098 <tlsfn19>:
  44. 80098: 6fae f8ff ffff move.d 0xfffffff8,\$r10
  45. #...
  46. 000800a0 <tlsfn12>:
  47. 800a0: 6fae fcff ffff move.d 0xfffffffc,\$r10
  48. #...
  49. 000800a8 <tlsdsofn>:
  50. 800a8: 6fae 1000 0000 move.d 10 <tls128\+0x10>,\$r10
  51. 800ae: 6fbe 0c00 0000 move.d c <tls128\+0xc>,\$r11