tlspic-2.d 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #source: tlspic1.s
  2. #source: tlspic2.s
  3. #as: -little
  4. #ld: -shared -EL --hash-style=sysv
  5. #readelf: -Ssrl
  6. #target: sh*-*-linux* sh*-*-netbsd*
  7. There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
  8. Section Headers:
  9. +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
  10. +\[ 0\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
  11. +\[ 1\] \.hash .*
  12. +\[ 2\] \.dynsym .*
  13. +\[ 3\] \.dynstr .*
  14. +\[ 4\] \.rela\.dyn .*
  15. +\[ 5\] \.rela\.plt .*
  16. +\[ 6\] \.plt .*
  17. +\[ 7\] \.text +PROGBITS .*
  18. +\[ 8\] \.tdata +PROGBITS .* 0+18 00 WAT +0 +0 +4
  19. +\[ 9\] \.tbss +NOBITS .* 0+08 00 WAT +0 +0 +1
  20. #...
  21. +\[[0-9a-f]+\] \.got +PROGBITS .*
  22. #...
  23. +\[[0-9a-f]+\] \.symtab .*
  24. +\[[0-9a-f]+\] \.strtab .*
  25. +\[[0-9a-f]+\] \.shstrtab .*
  26. Key to Flags:
  27. #...
  28. Elf file type is DYN \(Shared object file\)
  29. Entry point 0x[0-9a-f]+
  30. There are 4 program headers, starting at offset [0-9]+
  31. Program Headers:
  32. +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
  33. +LOAD.*
  34. +LOAD.*
  35. +DYNAMIC.*
  36. +TLS .* 0x0+18 0x0+20 R +0x4
  37. Section to Segment mapping:
  38. +Segment Sections\.\.\.
  39. +00 +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text *
  40. +01 +\.tdata \.dynamic \.got *
  41. +02 +\.dynamic *
  42. +03 +\.tdata \.tbss *
  43. Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 10 entries:
  44. Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
  45. [0-9a-f ]+R_SH_TLS_DTPMOD32 +0
  46. [0-9a-f ]+R_SH_TLS_TPOFF32 +c
  47. [0-9a-f ]+R_SH_TLS_DTPMOD32 +0
  48. [0-9a-f ]+R_SH_TLS_DTPMOD32 +0
  49. [0-9a-f ]+R_SH_TLS_TPOFF32 +1c
  50. [0-9a-f ]+R_SH_TLS_DTPMOD32 +0
  51. [0-9a-f ]+R_SH_TLS_TPOFF32 +14
  52. [0-9a-f ]+R_SH_TLS_DTPMOD32 +0+ +sg1 \+ 0
  53. [0-9a-f ]+R_SH_TLS_DTPOFF32 +0+ +sg1 \+ 0
  54. [0-9a-f ]+R_SH_TLS_TPOFF32 +0+04 +sg2 \+ 0
  55. Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entry:
  56. Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
  57. [0-9a-f ]+R_SH_JMP_SLOT[0-9a-f ]+__tls_get_addr \+ [0-9a-f]+
  58. Symbol table '\.dynsym' contains [0-9]+ entries:
  59. +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
  60. .* NOTYPE +LOCAL +DEFAULT +UND *
  61. .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
  62. .* TLS +GLOBAL +DEFAULT +8 sg1
  63. #...
  64. .* FUNC +GLOBAL +DEFAULT +7 fn1
  65. #...
  66. .* TLS +GLOBAL +DEFAULT +8 sg2
  67. #pass