Ignore non-PLT symbols on PPC's arch_breakpoint_init
diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c
index 8b38108..88ea90a 100644
--- a/sysdeps/linux-gnu/ppc/plt.c
+++ b/sysdeps/linux-gnu/ppc/plt.c
@@ -588,7 +588,14 @@
arch_breakpoint_init(struct Process *proc, struct breakpoint *bp)
{
if (proc->e_machine == EM_PPC
- || bp->libsym == NULL
+ || bp->libsym == NULL)
+ return 0;
+
+ /* We could see LS_TOPLT_EXEC or LS_TOPLT_NONE (the latter
+ * when we trace entry points), but not LS_TOPLT_POINT
+ * anywhere on PPC. */
+ assert(bp->libsym->plt_type != LS_TOPLT_POINT);
+ if (bp->libsym->plt_type != LS_TOPLT_EXEC
|| bp->libsym->arch.type == PPC64PLT_STUB)
return 0;