[git commit master 1/1] ldso/mips: pltgot should array not address of array to dynamic info.
Khem Raj
raj.khem at gmail.com
Mon Jul 19 07:44:45 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=fb6ca14d4d53657a4cde0d3f881f02c0d54fe17b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
* This change was introduced in commit 9381d622e2411a35a5fd73a5a573eb269e2dd9c9
which rendered uclibc not booting on mips targets. Restoring it makes
it work again.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
ldso/ldso/mips/dl-sysdep.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h
index 0992818..c1aad66 100644
--- a/ldso/ldso/mips/dl-sysdep.h
+++ b/ldso/ldso/mips/dl-sysdep.h
@@ -127,7 +127,7 @@ do { \
GOT_BASE[0] = (unsigned long) _dl_runtime_resolve; \
GOT_BASE[1] = (unsigned long) MODULE; \
\
- pltgot = &MODULE->dynamic_info[DT_MIPS_PLTGOT_IDX]; \
+ pltgot = MODULE->dynamic_info[DT_MIPS_PLTGOT_IDX]; \
if (pltgot) { \
pltgot[0] = (unsigned long) _dl_runtime_pltresolve; \
pltgot[1] = (unsigned long) MODULE; \
--
1.7.1
More information about the uClibc-cvs
mailing list