pdp10_elf36:format_error/1: handle eof from read_uint9/1

This commit is contained in:
Mikael Pettersson 2019-08-28 18:34:58 +02:00
parent e2ea928b58
commit cb450ce096

View File

@ -454,6 +454,8 @@ format_error(Reason) ->
io_lib:format("wrong sh_entsize ~p in symtab section header", [ShEntSize]);
{wrong_symtab_sh_size, ShSize} ->
io_lib:format("wrong sh_size ~p in symtab section header", [ShSize]);
eof ->
"premature EOF";
_ ->
io_lib:format("~p", [Reason])
end.