local3.d 1.4 KB

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