/project/binutils/ld/testsuite/ld-cris/tls-legdx-17.d

https://gitlab.com/torshie/modern-tool · D · 54 lines · 49 code · 5 blank · 0 comment · 1 complexity · 7371c767359bead9ea2a9916193d8750 MD5 · raw file

  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-x1x2.s
  7. #as: --no-underscore --em=criself
  8. #ld: -m crislinux tmpdir/tls-dso-xz-1.so
  9. #objdump: -s -h -t -T -R -r -p
  10. # Check that we have proper NPTL/TLS markings and GOT for an
  11. # executable with two R_CRIS_16_TPREL a R_CRIS_32_GOT_GD and a
  12. # R_CRIS_16_GOT_GD, different symbols, GD symbols defined elsewhere.
  13. .*: file format elf32-cris
  14. Program Header:
  15. #...
  16. TLS off .*
  17. filesz 0x0+88 memsz 0x0+88 flags r--
  18. Dynamic Section:
  19. NEEDED tmpdir/tls-dso-xz-1.so
  20. #...
  21. private flags = 0:
  22. #...
  23. 8 .got .*
  24. CONTENTS.*
  25. SYMBOL TABLE:
  26. #...
  27. 0+ \*UND\* 0+ x
  28. #...
  29. 0+ \*UND\* 0+ z
  30. #...
  31. DYNAMIC SYMBOL TABLE:
  32. #...
  33. 0+ D \*UND\* 0+ x
  34. #...
  35. 0+ D \*UND\* 0+ z
  36. #...
  37. DYNAMIC RELOCATION RECORDS
  38. OFFSET TYPE VALUE
  39. 00082308 R_CRIS_DTP x
  40. 00082310 R_CRIS_DTP z
  41. Contents of section .interp:
  42. #...
  43. Contents of section \.text:
  44. 801dc 41b20000 5faef8ff 5faefcff 6fae0c00 .*
  45. 801ec 00000000 5fae1400 .*
  46. #...
  47. Contents of section \.got:
  48. 822fc 7c220800 0+ 0+ 0+ .*
  49. 8230c 0+ 0+ 0+ .*