aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/m68k
diff options
context:
space:
mode:
authorPaul Gilliam <pgilliam@us.ibm.com>2006-06-14 06:55:21 +0200
committerIan Wienand <ianw@debian.org>2006-06-14 06:55:21 +0200
commit76c61f15d7989bf7adffed2e46a44c34a80bd927 (patch)
treee03252ab3c418ed3e63b2129456528bc93f09d66 /sysdeps/linux-gnu/m68k
parentdcbfb8ee67323014098df9fb5a535d1099e2e2ec (diff)
downloadltrace-76c61f15d7989bf7adffed2e46a44c34a80bd927.tar.gz
Added Paul Gilliam's secure PLT patch
Diffstat (limited to 'sysdeps/linux-gnu/m68k')
-rw-r--r--sysdeps/linux-gnu/m68k/plt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/linux-gnu/m68k/plt.c b/sysdeps/linux-gnu/m68k/plt.c
index f1af366..8ee29e0 100644
--- a/sysdeps/linux-gnu/m68k/plt.c
+++ b/sysdeps/linux-gnu/m68k/plt.c
@@ -8,7 +8,7 @@ GElf_Addr arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela)
* ((lte->ehdr.e_flags & EF_CPU32) ? 24 : 12);
}
-void *plt2addr(struct process *proc, void **plt)
+void *sym2addr(struct process *proc, struct library_symbol *sym)
{
- return (void *)plt;
+ return sym->enter_addr;
}