From 522a6ca083c8b9e964548b0e79a4bdc8095d6e2e Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Fri, 16 Mar 2012 02:41:10 +0100 Subject: library_symbol_init takes target_address_t instead of GElf_Addr --- library.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'library.h') 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 -- cgit v1.2.3