diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-07-19 00:44:45 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-07-19 00:44:45 -0700 |
commit | fb6ca14d4d53657a4cde0d3f881f02c0d54fe17b (patch) | |
tree | 9d6f226b90f2484ddc6f39655ece81053b853ea8 /ldso | |
parent | 48d3643f218a9257f78a5363b4bbbb6edaaabc66 (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>
Diffstat (limited to 'ldso')
-rw-r--r-- | 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 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; \ |