summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/elfinterp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-05-01 07:13:09 +0000
committerEric Andersen <andersen@codepoet.org>2005-05-01 07:13:09 +0000
commit51d16a55069c65229522a2244697341018f4d17e (patch)
tree94e02c7240be94fa83708494c015083fbe407f3b /ldso/ldso/mips/elfinterp.c
parentead7e247a8f03b11551e872b8098aafbce9fa602 (diff)
On mips, gdb explicitly looks for the symbol "__dl_runtime_resolve" so change
the name of our mips resolver function to match gdb's expectations.
Diffstat (limited to 'ldso/ldso/mips/elfinterp.c')
-rw-r--r--ldso/ldso/mips/elfinterp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c
index c551d6ca4..595653000 100644
--- a/ldso/ldso/mips/elfinterp.c
+++ b/ldso/ldso/mips/elfinterp.c
@@ -103,11 +103,11 @@ static void debug_reloc(Elf32_Sym *symtab,char *strtab, ELF_RELOC *rpnt)
}
#endif
-extern int _dl_linux_resolve(void);
+extern int _dl_runtime_resolve(void);
#define OFFSET_GP_GOT 0x7ff0
-unsigned long _dl_linux_resolver(unsigned long sym_index,
+unsigned long __dl_runtime_resolve(unsigned long sym_index,
unsigned long old_gpreg)
{
unsigned long *got = (unsigned long *) (old_gpreg - OFFSET_GP_GOT);