tlsbin2.rd 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #source: tlsbinpic2.s
  2. #source: tlsbin.s
  3. #as: --64
  4. #ld: -shared -melf_x86_64 --no-ld-generated-unwind-info
  5. #readelf: -WSsrl
  6. #target: x86_64-*-*
  7. There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
  8. Section Headers:
  9. +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
  10. +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
  11. +\[[ 0-9]+\] .interp +.*
  12. +\[[ 0-9]+\] .hash +.*
  13. +\[[ 0-9]+\] .dynsym +.*
  14. +\[[ 0-9]+\] .dynstr +.*
  15. +\[[ 0-9]+\] .rela.dyn +.*
  16. +\[[ 0-9]+\] .text +PROGBITS +0+401000 0+1000 0+233 00 +AX +0 +0 +4096
  17. +\[[ 0-9]+\] .tdata +PROGBITS +0+601233 0+1233 0+60 00 WAT +0 +0 +1
  18. +\[[ 0-9]+\] .tbss +NOBITS +0+601293 0+1293 0+40 00 WAT +0 +0 +1
  19. +\[[ 0-9]+\] .dynamic +DYNAMIC +0+601298 0+1298 0+100 10 +WA +4 +0 +8
  20. +\[[ 0-9]+\] .got +PROGBITS +0+601398 0+1398 0+28 08 +WA +0 +0 +8
  21. +\[[ 0-9]+\] .got.plt +PROGBITS +0+6013c0 0+13c0 0+18 08 +WA +0 +0 +8
  22. +\[[ 0-9]+\] .symtab +.*
  23. +\[[ 0-9]+\] .strtab +.*
  24. +\[[ 0-9]+\] .shstrtab +.*
  25. Key to Flags:
  26. #...
  27. Elf file type is EXEC \(Executable file\)
  28. Entry point 0x40113b
  29. There are [0-9]+ program headers, starting at offset [0-9]+
  30. Program Headers:
  31. +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
  32. +PHDR.*
  33. +INTERP.*
  34. .*Requesting program interpreter.*
  35. +LOAD +0x0+ 0x0+400000 0x0+400000 0x0+1233 0x0+1233 R E 0x200000
  36. +LOAD +0x0+1233 0x0+601233 0x0+601233 0x0+1a5 0x0+1a5 RW +0x200000
  37. +DYNAMIC +0x0+1298 0x0+601298 0x0+601298 0x0+100 0x0+100 RW +0x8
  38. +TLS +0x0+1233 0x0+601233 0x0+601233 0x0+60 0x0+a0 R +0x1
  39. Section to Segment mapping:
  40. +Segment Sections...
  41. +00 *
  42. +01 +.interp *
  43. +02 +.interp .hash .dynsym .dynstr .rela.dyn .text *
  44. +03 +.tdata .dynamic .got .got.plt *
  45. +04 +.dynamic *
  46. +05 +.tdata .tbss *
  47. Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 5 entries:
  48. +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
  49. [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG5 \+ 0
  50. [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG2 \+ 0
  51. [0-9a-f ]+R_X86_64_GLOB_DAT +0+ __tls_get_addr \+ 0
  52. [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG6 \+ 0
  53. [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG1 \+ 0
  54. Symbol table '\.dynsym' contains [0-9]+ entries:
  55. +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
  56. .* NOTYPE +LOCAL +DEFAULT +UND *
  57. .* TLS +GLOBAL +DEFAULT +UND sG5
  58. .* TLS +GLOBAL +DEFAULT +UND sG2
  59. .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
  60. .* TLS +GLOBAL +DEFAULT +UND sG6
  61. .* TLS +GLOBAL +DEFAULT +UND sG1
  62. Symbol table '\.symtab' contains [0-9]+ entries:
  63. +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
  64. .* NOTYPE +LOCAL +DEFAULT +UND *
  65. .* FILE +LOCAL +DEFAULT +ABS .*tlsbinpic2.o
  66. .* TLS +LOCAL +DEFAULT +7 sl1
  67. .* TLS +LOCAL +DEFAULT +7 sl2
  68. .* TLS +LOCAL +DEFAULT +7 sl3
  69. .* TLS +LOCAL +DEFAULT +7 sl4
  70. .* TLS +LOCAL +DEFAULT +7 sl5
  71. .* TLS +LOCAL +DEFAULT +7 sl6
  72. .* TLS +LOCAL +DEFAULT +7 sl7
  73. .* TLS +LOCAL +DEFAULT +7 sl8
  74. .* FILE +LOCAL +DEFAULT +ABS .*tlsbin.o
  75. .* TLS +LOCAL +DEFAULT +8 bl1
  76. .* TLS +LOCAL +DEFAULT +8 bl2
  77. .* TLS +LOCAL +DEFAULT +8 bl3
  78. .* TLS +LOCAL +DEFAULT +8 bl4
  79. .* TLS +LOCAL +DEFAULT +8 bl5
  80. .* TLS +LOCAL +DEFAULT +8 bl6
  81. .* TLS +LOCAL +DEFAULT +8 bl7
  82. .* TLS +LOCAL +DEFAULT +8 bl8
  83. .* FILE +LOCAL +DEFAULT +ABS
  84. .* OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
  85. .* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
  86. .* TLS +GLOBAL +DEFAULT +7 sg8
  87. .* TLS +GLOBAL +DEFAULT +8 bg8
  88. .* TLS +GLOBAL +DEFAULT +8 bg6
  89. .* TLS +GLOBAL +DEFAULT +UND sG5
  90. .* TLS +GLOBAL +DEFAULT +8 bg3
  91. .* TLS +GLOBAL +DEFAULT +7 sg3
  92. .* TLS +GLOBAL +HIDDEN +7 sh3
  93. .* TLS +GLOBAL +DEFAULT +UND sG2
  94. .* TLS +GLOBAL +DEFAULT +7 sg4
  95. .* TLS +GLOBAL +DEFAULT +7 sg5
  96. .* TLS +GLOBAL +DEFAULT +8 bg5
  97. .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
  98. .* TLS +GLOBAL +HIDDEN +7 sh7
  99. .* TLS +GLOBAL +HIDDEN +7 sh8
  100. .* TLS +GLOBAL +DEFAULT +7 sg1
  101. .* FUNC +GLOBAL +DEFAULT +6 _start
  102. .* TLS +GLOBAL +HIDDEN +7 sh4
  103. .* TLS +GLOBAL +DEFAULT +8 bg7
  104. .* TLS +GLOBAL +HIDDEN +7 sh5
  105. .* NOTYPE +GLOBAL +DEFAULT +11 __bss_start
  106. .* TLS +GLOBAL +DEFAULT +UND sG6
  107. .* FUNC +GLOBAL +DEFAULT +6 fn2
  108. .* TLS +GLOBAL +DEFAULT +7 sg2
  109. .* TLS +GLOBAL +DEFAULT +UND sG1
  110. .* TLS +GLOBAL +HIDDEN +7 sh1
  111. .* TLS +GLOBAL +DEFAULT +7 sg6
  112. .* TLS +GLOBAL +DEFAULT +7 sg7
  113. .* NOTYPE +GLOBAL +DEFAULT +11 _edata
  114. .* NOTYPE +GLOBAL +DEFAULT +11 _end
  115. .* TLS +GLOBAL +HIDDEN +7 sh2
  116. .* TLS +GLOBAL +HIDDEN +7 sh6
  117. .* TLS +GLOBAL +DEFAULT +8 bg2
  118. .* TLS +GLOBAL +DEFAULT +8 bg1
  119. .* TLS +GLOBAL +DEFAULT +8 bg4