aboutsummaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-03-16 02:41:10 +0100
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:12:51 +0200
commit522a6ca083c8b9e964548b0e79a4bdc8095d6e2e (patch)
tree3631d13294fc7224dc2e288fe0bad10b86ca9679 /library.h
parent464026f85d934c858602cd5a620b48173a179131 (diff)
downloadltrace-522a6ca083c8b9e964548b0e79a4bdc8095d6e2e.tar.gz
library_symbol_init takes target_address_t instead of GElf_Addr
Diffstat (limited to 'library.h')
-rw-r--r--library.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/library.h b/library.h
index 837c727..17f0c1b 100644
--- a/library.h
+++ b/library.h
@@ -54,11 +54,8 @@ struct library_symbol {
/* Init LIBSYM. NAME will be freed when LIBSYM is destroyed if
* OWN_NAME. */
-/* XXX note that we shouldn't use GElf_Addr for ADDR either. The fact
- * that Elf is used is a back-end detail. At least ltrace pretends
- * that it would like to be cross-platform like that one day. */
void library_symbol_init(struct library_symbol *libsym, struct library *lib,
- GElf_Addr addr, const char *name, int own_name,
+ target_address_t addr, const char *name, int own_name,
enum toplt type_of_plt, int is_weak);
/* Copy library symbol SYM into the area pointed-to by RETP. Return 0