commit doctor's latest changes

This commit is contained in:
Tyler Wilding
2020-08-26 21:02:24 -04:00
parent c4bd9eaf69
commit e6e96400c8
50 changed files with 509 additions and 273 deletions
@@ -134,7 +134,7 @@ static uint32_t c_symlink2(LinkedObjectFile& f,
word_kind = LinkedWord::TYPE_PTR;
break;
default:
throw std::runtime_error("unhandled SymbolLinkKind");
throw std::exception("unhandled SymbolLinkKind");
}
f.symbol_link_word(seg_id, code_ptr_offset - initial_offset, name, word_kind);
@@ -191,7 +191,7 @@ static uint32_t c_symlink3(LinkedObjectFile& f,
word_kind = LinkedWord::TYPE_PTR;
break;
default:
throw std::runtime_error("unhandled SymbolLinkKind");
throw std::exception("unhandled SymbolLinkKind");
}
f.symbol_link_word(seg, code_ptr - initial_offset, name, word_kind);