summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/elfinterp.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-20 02:36:23 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-20 02:36:23 +0000
commite6d9378e257d45d41f928292bb48fd3cace4257d (patch)
treeca92d0de459f93febee20cc2174de083d15fa1b6 /ldso/ldso/mips/elfinterp.c
parent703efa108d7c7faee00d9392877350fe6bfc5ddd (diff)
Patch by Joakim Tjernlund <joakim.tjernlund@lumentis.se>, which got
mips mostly working. From there, I tracked the bash failure to a bad _dl_atexit address and Erik took it from there.
Diffstat (limited to 'ldso/ldso/mips/elfinterp.c')
-rw-r--r--ldso/ldso/mips/elfinterp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c
index 3cb7fdb60..5be0421e4 100644
--- a/ldso/ldso/mips/elfinterp.c
+++ b/ldso/ldso/mips/elfinterp.c
@@ -301,7 +301,7 @@ void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt)
}
else {
*got_entry = (unsigned long) _dl_find_hash(strtab +
- sym->st_name, tpnt->symbol_scope, ELF_RTYPE_CLASS_COPY);
+ sym->st_name, tpnt->symbol_scope, ELF_RTYPE_CLASS_PLT);
}
got_entry++;