/project/binutils/ld/testsuite/ld-cris/tls-gd-1h.d

https://gitlab.com/torshie/modern-tool · D · 50 lines · 43 code · 7 blank · 0 comment · 0 complexity · bcc014751d82a34435b277d6d103e0d1 MD5 · raw file

  1. #as: --pic --no-underscore --em=criself
  2. #ld: --shared -m crislinux
  3. #source: tls-gd-1.s
  4. #source: tls128g.s
  5. #source: tls-hx.s
  6. #objdump: -s -t -R -p
  7. # DSO with a single R_CRIS_16_GOT_GD against a hidden symbol. Check
  8. # that we have proper NPTL/TLS markings and GOT.
  9. .*: file format elf32-cris
  10. Program Header:
  11. LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
  12. filesz 0x0+1a4 memsz 0x0+1a4 flags r-x
  13. LOAD off 0x0+1a4 vaddr 0x0+21a4 paddr 0x0+21a4 align 2\*\*13
  14. filesz 0x0+108 memsz 0x0+108 flags rw-
  15. DYNAMIC off 0x0+228 vaddr 0x0+2228 paddr 0x0+2228 align 2\*\*2
  16. filesz 0x0+70 memsz 0x0+70 flags rw-
  17. TLS off 0x0+1a4 vaddr 0x0+21a4 paddr 0x0+21a4 align 2\*\*2
  18. filesz 0x0+84 memsz 0x0+84 flags r--
  19. Dynamic Section:
  20. HASH 0x0+b4
  21. STRTAB 0x0+168
  22. SYMTAB 0x0+e8
  23. STRSZ 0x0+2a
  24. SYMENT 0x0+10
  25. RELA 0x0+194
  26. RELASZ 0x0+c
  27. RELAENT 0x0+c
  28. private flags = 0:
  29. SYMBOL TABLE:
  30. #...
  31. 0+80 l \.tdata 0+4 x
  32. #...
  33. DYNAMIC RELOCATION RECORDS
  34. OFFSET TYPE VALUE
  35. 0+22a4 R_CRIS_DTP \*ABS\*\+0x0+80
  36. Contents of section \.hash:
  37. #...
  38. Contents of section \.text:
  39. 01a0 5fae0c00 .*
  40. #...
  41. Contents of section \.got:
  42. 2298 28220+ 0+ 0+ 0+ .*
  43. 22a8 0+ .*