aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/ppc/plt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/linux-gnu/ppc/plt.c')
-rw-r--r--sysdeps/linux-gnu/ppc/plt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c
index 70bc19b..707d9d9 100644
--- a/sysdeps/linux-gnu/ppc/plt.c
+++ b/sysdeps/linux-gnu/ppc/plt.c
@@ -8,6 +8,7 @@ arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {
return rela->r_offset;
}
+/* XXX Apparently PPC64 doesn't support PLT breakpoints. */
void *
sym2addr(Process *proc, struct library_symbol *sym) {
void *addr = sym->enter_addr;
@@ -53,6 +54,8 @@ sym2addr(Process *proc, struct library_symbol *sym) {
addr = (void *)pt_ret;
}
#else
+ /* XXX Um, so where exactly are we dealing with the non-secure
+ PLT thing? */
addr = (void *)pt_ret;
#endif