tls-e-20.d 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #source: start1.s
  2. #source: tls-gd-2.s --pic
  3. #source: tls-hx.s
  4. #source: tls-ld-6.s --pic
  5. #source: tls-ie-10.s --pic
  6. #source: tls-hx1x2.s --pic
  7. #as: --no-underscore --em=criself -I$srcdir/$subdir
  8. #ld: -m crislinux
  9. #objdump: -d -s -h -t -r -p
  10. # Check that we have proper NPTL/TLS markings and GOT for an
  11. # executable with a R_CRIS_32_GOT_GD, a R_CRIS_DTPREL and a
  12. # R_CRIS_32_GOT_TPREL.
  13. .*: file format elf32-cris
  14. Program Header:
  15. LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
  16. filesz 0x0+b0 memsz 0x0+b0 flags r-x
  17. LOAD off 0x0+b0 vaddr 0x0+820b0 paddr 0x0+820b0 align 2\*\*13
  18. filesz 0x0+2c memsz 0x0+2c flags rw-
  19. TLS off 0x0+b0 vaddr 0x0+820b0 paddr 0x0+820b0 align 2\*\*2
  20. filesz 0x0+c memsz 0x0+c flags r--
  21. private flags = 0:
  22. Sections:
  23. Idx Name Size VMA LMA File off Algn
  24. 0 \.text 0000001c 00080094 00080094 00000094 2\*\*1
  25. CONTENTS, ALLOC, LOAD, READONLY, CODE
  26. 1 \.tdata 0000000c 000820b0 000820b0 000000b0 2\*\*2
  27. CONTENTS, ALLOC, LOAD, DATA, THREAD_LOCAL
  28. 2 \.got 00000020 000820bc 000820bc 000000bc 2\*\*2
  29. CONTENTS, ALLOC, LOAD, DATA
  30. SYMBOL TABLE:
  31. 0+80094 l d \.text 0+ \.text
  32. 0+820b0 l d \.tdata 0+ \.tdata
  33. 0+820bc l d \.got 0+ \.got
  34. 0+ l \.tdata 0+4 x
  35. 0+820bc l O \.got 0+ _GLOBAL_OFFSET_TABLE_
  36. 0+80098 g F \.text 0+6 tlsdsofn2
  37. 0+8 g \.tdata 0+4 \.hidden x2
  38. 0+80094 g \.text 0+ _start
  39. 0+820dc g \.got 0+ __bss_start
  40. 0+800a0 g F \.text 0+6 tlsdsofn
  41. 0+4 g \.tdata 0+4 \.hidden x1
  42. 0+820dc g \.got 0+ _edata
  43. 0+820e0 g \.got 0+ _end
  44. 0+800a8 g F \.text 0+6 tlsdsofn10
  45. Contents of section \.text:
  46. #...
  47. Contents of section \.tdata:
  48. 820b0 28000000 29000000 2a000000 .*
  49. Contents of section \.got:
  50. 820bc 00000000 00000000 00000000 01000000 .*
  51. 820cc 00000000 f4ffffff 01000000 00000000 .*
  52. Disassembly of section \.text:
  53. 00080094 <_start>:
  54. 80094: 41b2 moveq 1,\$r11
  55. #...
  56. 00080098 <tlsdsofn2>:
  57. 80098: 6fae 1800 0000 move\.d 18 <x2\+0x10>,\$r10
  58. #...
  59. 000800a0 <tlsdsofn>:
  60. 800a0: 6fae 0000 0000 move\.d 0 <x>,\$r10
  61. #...
  62. 000800a8 <tlsdsofn10>:
  63. 800a8: 6fae 1400 0000 move\.d 14 <x2\+0xc>,\$r10
  64. #...