static int mips_linux_in_dynsym_resolve_code (CORE_ADDR pc) { /* Check whether PC is in the dynamic linker. This also checks whether it is in the .plt section, used by non-PIC executables. */ if (svr4_in_dynsym_resolve_code (pc)) return 1; /* Pattern match for the stub. It would be nice if there were a more efficient way to avoid this check. */ if (mips_linux_in_dynsym_stub (pc, NULL)) return 1; return 0; }
static int powerpc_linux_in_dynsym_resolve_code (CORE_ADDR pc) { struct bound_minimal_symbol sym; /* Check whether PC is in the dynamic linker. This also checks whether it is in the .plt section, used by non-PIC executables. */ if (svr4_in_dynsym_resolve_code (pc)) return 1; /* Check if we are in the resolver. */ sym = lookup_minimal_symbol_by_pc (pc); if (sym.minsym != NULL && (strcmp (MSYMBOL_LINKAGE_NAME (sym.minsym), "__glink") == 0 || strcmp (MSYMBOL_LINKAGE_NAME (sym.minsym), "__glink_PLTresolve") == 0)) return 1; return 0; }