diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-12-29 23:07:23 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-12-29 23:07:23 -0800 |
commit | dc3c3342e7f66dbf48071734a886ee1645f6f77a (patch) | |
tree | 8b817e53d5a5c67eff19742e579843659adc5dc8 | |
parent | 5610f4e0179509ceca3fbf5e376bf212321605ff (diff) |
Fix crash when printing error message about modified return address
-rw-r--r-- | runtime.S | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -398,6 +398,7 @@ m68k_modified_ret_addr: lea ret_addr_msg(%rip), %rdi mov %rcx, %rsi mov 8(%rsp), %rdx + xor %rax, %rax call printf mov $1, %rdi call exit |