diff options
author | Petr Machata <pmachata@redhat.com> | 2012-09-27 23:33:44 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-10-01 14:18:53 +0200 |
commit | 0fa790473a035a432cb795eace4fe7ae6fd742b8 (patch) | |
tree | 994bba26b8e477cfbec4b19948eeaf82e2f33259 /ltrace-elf.c | |
parent | 016811fc65dc5ecabd2e80bfb4afc771f5d953cf (diff) | |
download | ltrace-0fa790473a035a432cb795eace4fe7ae6fd742b8.tar.gz |
Append default PLT entry to the symbols returned by arch_elf_add_plt_entry
This fixes the case that arch_elf_add_plt_entry both returns plt_default
and passes back a list of symbols to insert for this PLT entry.
Diffstat (limited to 'ltrace-elf.c')
-rw-r--r-- | ltrace-elf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ltrace-elf.c b/ltrace-elf.c index 0f431ad..9d4e68d 100644 --- a/ltrace-elf.c +++ b/ltrace-elf.c @@ -91,6 +91,7 @@ default_elf_add_plt_entry(struct Process *proc, struct ltelf *lte, goto fail; } + libsym->next = *ret; *ret = libsym; return 0; } |