summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-20 01:02:37 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-20 01:02:37 +0000
commit331a0e429e426136bbbb55a0922eb8de1392c78d (patch)
tree6b4e81f655bb9fdb713f2f1f6aca536d27709e58
parentc77c9daf382e4c158a678327fe8112a99418af73 (diff)
add a note as to why mips is special
-rw-r--r--ldso/include/dl-elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h
index f77c57348..de404aec1 100644
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -103,6 +103,10 @@ void __dl_parse_dynamic_info(ElfW(Dyn) *dpnt, unsigned long dynamic_info[], void
if (dpnt->d_tag < DT_NUM) {
dynamic_info[dpnt->d_tag] = dpnt->d_un.d_val;
#ifndef __mips__
+ /* we disable for mips because normally this page is readonly
+ * and modifying the value here needlessly dirties a page.
+ * see this post for more info:
+ * http://uclibc.org/lists/uclibc/2006-April/015224.html */
if (dpnt->d_tag == DT_DEBUG)
dpnt->d_un.d_val = (unsigned long)debug_addr;
#endif