sec-8m.d 1009 B

123456789101112131415161718192021222324252627282930
  1. #source: start.s
  2. #source: sec-8a.s
  3. #source: sec-8b.s
  4. #source: sec-8m.s
  5. #source: sec-8d.s
  6. #ld: -m mmo
  7. #objdump: -s
  8. # Distantly related to sec-7m.s in that section lengths mattered for the
  9. # bug. When one input-section (seen in mmo.c as a chunk of data to
  10. # output) had a length not a multiple of four, the last bytes were saved
  11. # to be concatenated with the next chunk. If it was followed by a chunk
  12. # with a leading multiple-of-four number of zero bytes, those zero bytes
  13. # would be omitted, and the "saved" bytes would be concatenated with the
  14. # following (not-all-zeros) bytes. Hence a shift of the last bytes of the
  15. # first chunk.
  16. .*: file format mmo
  17. Contents of section \.text:
  18. 00000 e3fd0001 2a000000 00000000 00000000 .*
  19. #...
  20. 07ff0 00000000 00000000 00000000 2b2c0000 .*
  21. #...
  22. 0fff0 00000000 00000000 00002d00 00000000 .*
  23. 10000 00000000 00000000 0000002e 2f303132 .*
  24. 10010 33000000 00000000 00000000 00000000 .*
  25. 10020 00300000 00000000 00000000 00000000 .*
  26. #...
  27. 18020 31 .*