OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e8b9d
)
Joakim Tjernlund writes:
author
Eric Andersen
<andersen@codepoet.org>
Sat, 19 Jun 2004 21:32:41 +0000
(21:32 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 19 Jun 2004 21:32:41 +0000
(21:32 -0000)
Glibc does not use COPY class for SHN_COMMOM in MIPS. Make uClibc ldso
the same.
ldso/ldso/mips/elfinterp.c
patch
|
blob
|
history
diff --git
a/ldso/ldso/mips/elfinterp.c
b/ldso/ldso/mips/elfinterp.c
index
3cdf9d8
..
0b6a680
100644
(file)
--- 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)