aboutsummaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-03-27 03:10:53 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:22:33 +0200
commite4e693bc8cd9f2df77a8f27d61a940087071b912 (patch)
tree16776f0585214548215ececa31813d54e2829dc6 /library.h
parent56a9ea6b41470d5a0590f23baaff7dff99f277d5 (diff)
downloadltrace-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/library.h b/library.h
index 9d7a0ba..13b82ea 100644
--- a/library.h
+++ b/library.h
@@ -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);