tls-e-80.d 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #source: start1.s
  2. #source: tls-tbss64.s
  3. #source: tls-ie-8e.s
  4. #source: tls-gd-2.s --pic
  5. #source: tls-hx.s
  6. #source: tls-le-12.s
  7. #source: tls-z.s
  8. #source: tls-ld-6.s --pic
  9. #source: tls-ie-10.s --pic
  10. #source: tls-hx1x2.s --pic
  11. #as: --no-underscore --em=criself -I$srcdir/$subdir
  12. #ld: -m crislinux
  13. #objdump: -d -s -h -t -r -p
  14. # Check that we have proper NPTL/TLS markings and GOT for an
  15. # executable with a R_CRIS_32_GOT_GD, a R_CRIS_DTPREL, a
  16. # R_CRIS_32_GOT_TPREL, a R_CRIS_32_TPREL and a R_CRIS_32_IE.
  17. .*: file format elf32-cris
  18. Program Header:
  19. LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
  20. filesz 0x0+c0 memsz 0x0+c0 flags r-x
  21. LOAD off 0x0+c0 vaddr 0x0+820c0 paddr 0x0+820c0 align 2\*\*13
  22. filesz 0x0+30 memsz 0x0+30 flags rw-
  23. TLS off 0x0+c0 vaddr 0x0+820c0 paddr 0x0+820c0 align 2\*\*2
  24. filesz 0x0+10 memsz 0x0+50 flags r--
  25. private flags = 0:
  26. Sections:
  27. Idx Name Size VMA LMA File off Algn
  28. 0 \.text 0+2c 0+80094 0+80094 0+94 2\*\*1
  29. CONTENTS, ALLOC, LOAD, READONLY, CODE
  30. 1 \.tdata 0+10 0+820c0 0+820c0 0+c0 2\*\*2
  31. CONTENTS, ALLOC, LOAD, DATA, THREAD_LOCAL
  32. 2 \.tbss 0+40 000820d0 0+820d0 0+d0 2\*\*2
  33. ALLOC, THREAD_LOCAL
  34. 3 \.got 0+20 0+820d0 0+820d0 0+d0 2\*\*2
  35. CONTENTS, ALLOC, LOAD, DATA
  36. SYMBOL TABLE:
  37. 0+80094 l d \.text 0+ \.text
  38. 0+820c0 l d \.tdata 0+ \.tdata
  39. 0+820d0 l d \.tbss 0+ \.tbss
  40. 0+820d0 l d \.got 0+ \.got
  41. 0+ l \.tdata 0+4 x
  42. 0+820d0 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
  43. 0+800a0 g F \.text 0+6 tlsdsofn2
  44. 0+800a8 g F \.text 0+6 tlsfn12
  45. 0+c g \.tdata 0+4 \.hidden x2
  46. 0+4 g \.tdata 0+4 z
  47. 0+80094 g \.text 0+ _start
  48. 0+80098 g F \.text 0+6 tlsfn
  49. 0+820f0 g \.got 0+ __bss_start
  50. 0+800b0 g F \.text 0+6 tlsdsofn
  51. 0+8 g \.tdata 0+4 \.hidden x1
  52. 0+820f0 g \.got 0+ _edata
  53. 0+82100 g \.got 0+ _end
  54. 0+10 g \.tbss 0+40 gx
  55. 0+800b8 g F \.text 0+6 tlsdsofn10
  56. Contents of section \.text:
  57. #...
  58. Contents of section \.tdata:
  59. 820c0 28000000 2a000000 29000000 2a000000 .*
  60. Contents of section \.got:
  61. 820d0 00000000 00000000 00000000 01000000 .*
  62. 820e0 00000000 b0ffffff 01000000 00000000 .*
  63. Disassembly of section \.text:
  64. 00080094 <_start>:
  65. 80094: 41b2 moveq 1,\$r11
  66. #...
  67. 00080098 <tlsfn>:
  68. 80098: 6fae e420 0800 move.d 820e4 <_GLOBAL_OFFSET_TABLE_\+0x14>,\$r10
  69. #...
  70. 000800a0 <tlsdsofn2>:
  71. 800a0: 6fae 1800 0000 move\.d 18 <gx\+0x8>,\$r10
  72. #...
  73. 000800a8 <tlsfn12>:
  74. 800a8: 6fae b4ff ffff move.d 0xffffffb4,\$r10
  75. #...
  76. 000800b0 <tlsdsofn>:
  77. 800b0: 6fae 0000 0000 move\.d 0 <x>,\$r10
  78. #...
  79. 000800b8 <tlsdsofn10>:
  80. 800b8: 6fae 1400 0000 move\.d 14 <gx\+0x4>,\$r10
  81. #...