local7.d 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #source: greg-4.s
  2. #source: greg-4.s
  3. #source: local1.s
  4. #source: local2.s
  5. #source: ext1.s
  6. #source: start.s
  7. #ld: -m elf64mmix
  8. #readelf: -Ssx1 -T -x2
  9. # Like local1, but ext1 is here a constant, not a global register and two
  10. # local-register checks.
  11. There are 6 section headers, starting at offset .*:
  12. Section Headers:
  13. +\[Nr\] Name +Type +Address +Offset
  14. +Size +EntSize +Flags +Link +Info +Align
  15. +\[ 0\] +NULL +0+ +0+
  16. +0+ +0+ +0 +0 +0
  17. +\[ 1\] \.text +PROGBITS +0+ +0+78
  18. +0+c +0+ +AX +0 +0 +4
  19. +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84
  20. +0+10 +0+ +W +0 +0 +1
  21. +\[ 3\] \.symtab +SYMTAB +0+ +[0-9a-f]+
  22. +[0-9a-f]+ +0+18 +4 +[0-9] +8
  23. +\[ 4\] \.strtab +STRTAB +0+ +[0-9a-f]+
  24. +[0-9a-f]+ +0+ +0 +0 +1
  25. +\[ 5\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
  26. +0+34 +0+ +0 +0 +1
  27. Key to Flags:
  28. #...
  29. Symbol table '\.symtab' contains [0-9]+ entries:
  30. +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
  31. .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND
  32. .* 0+ +0 +SECTION +LOCAL +DEFAULT +1.*
  33. .* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2.*
  34. .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .*
  35. .* 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym
  36. .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .*
  37. .* 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym
  38. .* 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1
  39. .* 0+8 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start
  40. #...
  41. Hex dump of section '\.text':
  42. 0x0+ fd030201 fd020202 e3fd0001 .*
  43. Hex dump of section '\.MMIX\.reg_contents':
  44. 0x0+7e8 00000000 0000004e 00000000 0000004e .*