aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-03-24 04:54:06 +0100
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:18:47 +0200
commite6523e69b0230fef8dddbf628e0511a004203eb8 (patch)
treebc7d107c8c874d7bb06252a10d5da0919d549d73 /common.h
parent644d669f96c0fe261fe938cecda41938e804c7d9 (diff)
downloadltrace-e6523e69b0230fef8dddbf628e0511a004203eb8.tar.gz
Don't require target library as part of symbol init
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.h b/common.h
index cae7351..6da6087 100644
--- a/common.h
+++ b/common.h
@@ -221,6 +221,15 @@ int os_ltrace_exiting_sighandler(void);
void os_ltrace_exiting(void);
int arch_elf_init(struct ltelf *lte);
+enum plt_status {
+ plt_fail,
+ plt_ok,
+ plt_default,
+};
+
+enum plt_status arch_elf_add_plt_entry(struct Process *p, struct ltelf *l,
+ const char *n, GElf_Rela *r, size_t i,
+ struct library_symbol **ret);
extern struct ltelf main_lte;