mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-04-10 22:51:12 +00:00
pdp10_elf36:format_error/1: handle eof from read_uint9/1
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user