From 00a25ecaa0ba75454263efc7a977cf7a7b227c58 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 26 Feb 2003 02:05:41 +0000
Subject: Fixup a really stupid and terribly obvious bug that was causing the
 shared lib loader on mips to puke...  -Erik

---
 ldso/ldso/ldso.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 11e8817c7..39c05e3b9 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -437,7 +437,7 @@ LD_BOOT(unsigned long args)
 #ifdef FORCE_SHAREABLE_TEXT_SEGMENTS
 						dpnt->d_un.d_val = (unsigned long) debug_addr;
 #else
-						dpnt_debug = dpnt;
+						dpnt_debug = (unsigned long) debug_addr;
 #endif
 					}
 					if (dpnt->d_tag == DT_TEXTREL)
-- 
cgit v1.2.3