summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-06-19 21:32:41 +0000
committerEric Andersen <andersen@codepoet.org>2004-06-19 21:32:41 +0000
commit7f62b02fb2d647768d692285437292e926f04b55 (patch)
tree8f7601d1223ef4de48d2e818146e5eb1c5c4f13d
parent13e8b9d8f4c2919bbb347d1975559e224b107ecc (diff)
Joakim Tjernlund writes:
Glibc does not use COPY class for SHN_COMMOM in MIPS. Make uClibc ldso the same.
-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 3cdf9d8af..0b6a68005 100644
--- a/ldso/ldso/mips/elfinterp.c
+++ b/ldso/ldso/mips/elfinterp.c
@@ -290,7 +290,7 @@ void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt)
}
else if (sym->st_shndx == SHN_COMMON) {
*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);
}
else if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC &&
*got_entry != sym->st_value)