svn commit: trunk/uClibc/ldso/include

vapier at uclibc.org vapier at uclibc.org
Thu Apr 20 01:02:40 UTC 2006


Author: vapier
Date: 2006-04-19 18:02:37 -0700 (Wed, 19 Apr 2006)
New Revision: 14928

Log:
add a note as to why mips is special

Modified:
   trunk/uClibc/ldso/include/dl-elf.h


Changeset:
Modified: trunk/uClibc/ldso/include/dl-elf.h
===================================================================
--- trunk/uClibc/ldso/include/dl-elf.h	2006-04-20 00:58:20 UTC (rev 14927)
+++ trunk/uClibc/ldso/include/dl-elf.h	2006-04-20 01:02:37 UTC (rev 14928)
@@ -103,6 +103,10 @@
 		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




More information about the uClibc-cvs mailing list