summaryrefslogtreecommitdiff
path: root/ao-tools/lib/ao-elf.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-28 09:31:02 -0800
committerKeith Packard <keithp@keithp.com>2013-11-28 09:31:02 -0800
commit14204e3d147ad99cc249ad8de254809180fe5c38 (patch)
treeda6dfb4b4d5ea02af596a83748af27080f0dfec7 /ao-tools/lib/ao-elf.h
parentee07f1a0f8e431bebb3b948f6249f5f33413e966 (diff)
ao-tools: Add ao-elftohex and .ihx symbol support
ao-elftohex converts an elf file into a hex file so that we can load it with java. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/ao-elf.h')
-rw-r--r--ao-tools/lib/ao-elf.h13
1 files changed, 1 insertions, 12 deletions
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 <gelf.h>
#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_ */