diff options
author | Petr Machata <pmachata@redhat.com> | 2012-03-27 03:10:53 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:22:33 +0200 |
commit | e4e693bc8cd9f2df77a8f27d61a940087071b912 (patch) | |
tree | 16776f0585214548215ececa31813d54e2829dc6 /library.h | |
parent | 56a9ea6b41470d5a0590f23baaff7dff99f277d5 (diff) | |
download | ltrace-e4e693bc8cd9f2df77a8f27d61a940087071b912.tar.gz |
Support per-arch data in library_symbol
- new configuration setting ARCH_HAVE_LIBRARY_SYMBOL_DATA
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,7 +23,7 @@ #define _LIBRARY_H_ #include <stdint.h> -#include <gelf.h> // XXX +#include "sysdep.h" struct Process; struct library; @@ -48,10 +48,11 @@ struct library_symbol { target_address_t enter_addr; enum toplt plt_type; char own_name; + struct arch_library_symbol_data arch; }; /* Init LIBSYM. NAME will be freed when LIBSYM is destroyed if - * OWN_NAME. */ + * OWN_NAME. ARCH has to be initialized by a separate call. */ void library_symbol_init(struct library_symbol *libsym, target_address_t addr, const char *name, int own_name, enum toplt type_of_plt); |