summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-19 00:44:45 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-19 00:44:45 -0700
commitfb6ca14d4d53657a4cde0d3f881f02c0d54fe17b (patch)
tree9d6f226b90f2484ddc6f39655ece81053b853ea8
parent48d3643f218a9257f78a5363b4bbbb6edaaabc66 (diff)
ldso/mips: pltgot should array not address of array to dynamic info.
* 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@gmail.com>
-rw-r--r--ldso/ldso/mips/dl-sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h
index 099281840..c1aad6661 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; \