pr20125.d 709 B

123456789101112131415161718192021
  1. #as: -no-predefined-syms -x -I$srcdir/$subdir
  2. #ld: -m mmo --defsym __.MMIX.start..text=0x80000
  3. #objdump: -dr
  4. # PUSHJ reloc handling was wrong for weak undefined symbols, causing
  5. # internal inconsistencies, leading to a call to abort.
  6. # Note that we don't keep track of which symbols have pushj-stubs, so
  7. # we get one stub each for the two calls to "foo".
  8. .*: file format mmo
  9. Disassembly of section \.text:
  10. 0+80000 <(_start|Main)>:
  11. 80000: fe000004 get \$0,rJ
  12. 80004: f2010004 pushj \$1,80014 <Main\+0x14>
  13. 80008: f2010004 pushj \$1,80018 <Main\+0x18>
  14. 8000c: f6040000 put rJ,\$0
  15. 80010: f8010000 pop 1,0
  16. 80014: f1fdfffb jmp 0 <Main-0x80000>
  17. 80018: f1fdfffa jmp 0 <Main-0x80000>