Browse Source

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.

Manuel Novoa III 21 years ago
parent
commit
e6d9378e25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldso/ldso/mips/elfinterp.c

+ 1 - 1
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++;