projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao-tools/ao-flash-lpc: Adapt to current openocd LPC support
[fw/altos]
/
ao-tools
/
lib
/
ao-elf.h
diff --git
a/ao-tools/lib/ao-elf.h
b/ao-tools/lib/ao-elf.h
index f3a2358c7004e5024601609aeca3a39fbdbff215..5f4e8428a16505eedc34c1199249137e79ac3f03 100644
(file)
--- a/
ao-tools/lib/ao-elf.h
+++ b/
ao-tools/lib/ao-elf.h
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-22,18
+23,7
@@
#include <gelf.h>
#include "ao-hex.h"
#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 *
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_ */
#endif /* _AO_ELF_H_ */