rename pdp10_elf36.elf to libelf.erl

This commit is contained in:
Mikael Pettersson
2025-08-10 23:30:52 +02:00
parent c6091d8803
commit a52866cd52
9 changed files with 28 additions and 28 deletions

View File

@@ -450,7 +450,7 @@ entry_frag(Entry) ->
read_elf(File) ->
case stdio9:fopen(File, [raw, read]) of
{ok, FP} ->
case pdp10_elf36:read_Ehdr(FP) of
case libelf:read_Ehdr(FP) of
{ok, Ehdr} -> read_elf(FP, Ehdr);
{error, _Reason} = Error -> Error
end;
@@ -460,7 +460,7 @@ read_elf(File) ->
read_elf(FP, Ehdr) ->
case Ehdr of
#elf_Ehdr{e_type = ?ET_EXEC, e_entry = Entry} when Entry band 3 =:= 0 ->
case pdp10_elf36:read_PhTab(FP, Ehdr) of
case libelf:read_PhTab(FP, Ehdr) of
{ok, PhTab} ->
case frags(PhTab) of
{ok, Frags} -> {ok, {FP, Entry, Frags}};