X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Flib%2Fao-elf.h;h=0f79d1425cad04226244ee3968d70ab69ea2812a;hp=f3a2358c7004e5024601609aeca3a39fbdbff215;hb=14204e3d147ad99cc249ad8de254809180fe5c38;hpb=ee07f1a0f8e431bebb3b948f6249f5f33413e966 diff --git a/ao-tools/lib/ao-elf.h b/ao-tools/lib/ao-elf.h index f3a2358c..0f79d142 100644 --- a/ao-tools/lib/ao-elf.h +++ b/ao-tools/lib/ao-elf.h @@ -22,18 +22,7 @@ #include #include "ao-hex.h" -struct ao_elf_sym { - unsigned addr; - unsigned default_addr; - char *name; - bool required; - bool found; -}; - struct ao_hex_image * -ao_load_elf(char *name, struct ao_elf_sym *symbols, int num_symbols); - -int -ao_elf_find_symbols (Elf *e, struct ao_elf_sym *symbols, int num_symbols); +ao_load_elf(char *name, struct ao_sym **symbols, int *num_symbols); #endif /* _AO_ELF_H_ */