tls-ldgdx-14.d 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #source: tls128.s
  2. #source: tls-ld-5.s
  3. #source: tls-gd-1.s
  4. #source: tls-ldgd-14.s
  5. #source: tls-hx1x2.s
  6. #as: --pic --no-underscore --em=criself
  7. #ld: --shared -m crislinux --hash-style=sysv tmpdir/tls-dso-xz-1.so
  8. #objdump: -s -h -t -T -R -r -p
  9. # Check that we have proper NPTL/TLS markings and GOT for two
  10. # R_CRIS_16_GOT_GD and two R_CRIS_16_DTPRELs against different
  11. # variables in a DSO, GD symbols defined elsewhere.
  12. .*: file format elf32-cris
  13. Program Header:
  14. #...
  15. TLS off .*
  16. filesz 0x0+88 memsz 0x0+88 flags r--
  17. Dynamic Section:
  18. NEEDED tmpdir/tls-dso-xz-1.so
  19. #...
  20. private flags = 0:
  21. #...
  22. 7 .got .*
  23. CONTENTS.*
  24. SYMBOL TABLE:
  25. #...
  26. 0+ \*UND\* 0+ x
  27. #...
  28. 0+ \*UND\* 0+ z
  29. #...
  30. DYNAMIC SYMBOL TABLE:
  31. #...
  32. 0+ D \*UND\* 0+ x
  33. #...
  34. 0+ D \*UND\* 0+ z
  35. #...
  36. DYNAMIC RELOCATION RECORDS
  37. OFFSET TYPE VALUE
  38. 000022d0 R_CRIS_DTPMOD \*ABS\*
  39. 000022d8 R_CRIS_DTP x
  40. 000022e0 R_CRIS_DTP z
  41. Contents of section \.hash:
  42. #...
  43. Contents of section \.text:
  44. 01b4 5fae8000 5fbe8400 5fae1400 5fae1c00 .*
  45. Contents of section .tdata:
  46. #...
  47. Contents of section \.got:
  48. 22c4 4c220+ 0+ 0+ 0+ .*
  49. 22d4 0+ 0+ 0+ 0+ .*
  50. 22e4 0+ .*