mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-24 03:18:22 +00:00
pdp10_elf36:format_error/1: handle eof from read_uint9/1
This commit is contained in:
parent
e2ea928b58
commit
cb450ce096
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user