diff options
author | Petr Machata <pmachata@redhat.com> | 2012-03-24 04:54:06 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:18:47 +0200 |
commit | e6523e69b0230fef8dddbf628e0511a004203eb8 (patch) | |
tree | bc7d107c8c874d7bb06252a10d5da0919d549d73 /common.h | |
parent | 644d669f96c0fe261fe938cecda41938e804c7d9 (diff) | |
download | ltrace-e6523e69b0230fef8dddbf628e0511a004203eb8.tar.gz |
Don't require target library as part of symbol init
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; |