tlsexe32no.r 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. #source: tls32.s
  2. #source: tlslib32.s
  3. #as: -a32
  4. #ld: --no-tls-optimize
  5. #readelf: -WSsrl
  6. #target: powerpc*-*-*
  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-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]+\] \.rela\.plt +.*
  17. +\[[ 0-9]+\] \.text +PROGBITS +[0-9a-f]+ [0-9a-f]+ 0000f0 00 +AX +0 +0 +16
  18. +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4
  19. +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4
  20. +\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
  21. +\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000038 04 +WA +0 +0 +4
  22. +\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4
  23. +\[[ 0-9]+\] \.symtab +SYMTAB +.*
  24. +\[[ 0-9]+\] \.strtab +STRTAB +.*
  25. +\[[ 0-9]+\] \.shstrtab +STRTAB +.*
  26. #...
  27. Elf file type is EXEC \(Executable file\)
  28. Entry point .*
  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 +0x000034 0x01800034 0x01800034 0x000c0 0x000c0 R +0x4
  33. +INTERP +0x0000f4 0x018000f4 0x018000f4 0x00011 0x00011 R +0x1
  34. +\[Requesting program interpreter: .*\]
  35. +LOAD .* R E 0x10000
  36. +LOAD .* RW +0x10000
  37. +DYNAMIC .* RW +0x4
  38. +TLS .* 0x0001c 0x00038 R +0x4
  39. Section to Segment mapping:
  40. +Segment Sections\.\.\.
  41. +00 +
  42. +01 +\.interp
  43. +02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
  44. +03 +\.tdata \.dynamic \.got \.plt
  45. +04 +\.dynamic
  46. +05 +\.tdata \.tbss
  47. Relocation section '\.rela\.dyn' at offset .* contains 3 entries:
  48. Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
  49. [0-9a-f ]+R_PPC_DTPMOD32 +0+ +gd \+ 0
  50. [0-9a-f ]+R_PPC_DTPREL32 +0+ +gd \+ 0
  51. [0-9a-f ]+R_PPC_DTPMOD32 +0+ +ld \+ 0
  52. Relocation section '\.rela\.plt' at offset .* contains 1 entry:
  53. Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
  54. [0-9a-f ]+R_PPC_JMP_SLOT[0-9a-f ]+__tls_get_addr_opt \+ 0
  55. Symbol table '\.dynsym' contains [0-9]+ entries:
  56. +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
  57. .* NOTYPE +LOCAL +DEFAULT +UND
  58. .* TLS +GLOBAL +DEFAULT +UND gd
  59. .* TLS +GLOBAL +DEFAULT +UND ld
  60. .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
  61. Symbol table '\.symtab' contains [0-9]+ entries:
  62. +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
  63. .* NOTYPE +LOCAL +DEFAULT +UND
  64. .* SECTION +LOCAL +DEFAULT +1 \.interp
  65. .* SECTION +LOCAL +DEFAULT +2 \.hash
  66. .* SECTION +LOCAL +DEFAULT +3 \.dynsym
  67. .* SECTION +LOCAL +DEFAULT +4 \.dynstr
  68. .* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn
  69. .* SECTION +LOCAL +DEFAULT +6 \.rela\.plt
  70. .* SECTION +LOCAL +DEFAULT +7 \.text
  71. .* SECTION +LOCAL +DEFAULT +8 \.tdata
  72. .* SECTION +LOCAL +DEFAULT +9 \.tbss
  73. .* SECTION +LOCAL +DEFAULT +10 \.dynamic
  74. .* SECTION +LOCAL +DEFAULT +11 \.got
  75. .* SECTION +LOCAL +DEFAULT +12 \.plt
  76. .* FILE +LOCAL +DEFAULT +ABS .*
  77. .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK
  78. .* TLS +LOCAL +DEFAULT +8 gd4
  79. .* TLS +LOCAL +DEFAULT +8 ld4
  80. .* TLS +LOCAL +DEFAULT +8 ld5
  81. .* TLS +LOCAL +DEFAULT +8 ld6
  82. .* TLS +LOCAL +DEFAULT +8 ie4
  83. .* TLS +LOCAL +DEFAULT +8 le4
  84. .* TLS +LOCAL +DEFAULT +8 le5
  85. .* FILE +LOCAL +DEFAULT +ABS .*
  86. .* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
  87. .* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
  88. .* TLS +GLOBAL +DEFAULT +UND gd
  89. .* TLS +GLOBAL +DEFAULT +9 le0
  90. .* TLS +GLOBAL +DEFAULT +9 ld0
  91. .* TLS +GLOBAL +DEFAULT +9 le1
  92. .* TLS +GLOBAL +DEFAULT +UND ld
  93. .* NOTYPE +GLOBAL +DEFAULT +7 _start
  94. .* NOTYPE +GLOBAL +DEFAULT +12 __end
  95. .* TLS +GLOBAL +DEFAULT +9 ld2
  96. .* TLS +GLOBAL +DEFAULT +9 ld1
  97. .* NOTYPE +GLOBAL +DEFAULT +12 __bss_start
  98. .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
  99. .* NOTYPE +GLOBAL +DEFAULT +12 _edata
  100. .* NOTYPE +GLOBAL +DEFAULT +12 _end
  101. .* TLS +GLOBAL +DEFAULT +9 gd0
  102. .* TLS +GLOBAL +DEFAULT +9 ie0