[uClibc-cvs] svn commit: trunk/uClibc/ldso/include

andersen at uclibc.org andersen at uclibc.org
Wed Apr 13 10:54:39 UTC 2005


Author: andersen
Date: 2005-04-13 04:54:39 -0600 (Wed, 13 Apr 2005)
New Revision: 10091

Log:
On some wierd arches (i.e. mips), none of the early debug stuff
works at all, so disable the whole lot.


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


Changeset:
Modified: trunk/uClibc/ldso/include/dl-string.h
===================================================================
--- trunk/uClibc/ldso/include/dl-string.h	2005-04-13 08:49:54 UTC (rev 10090)
+++ trunk/uClibc/ldso/include/dl-string.h	2005-04-13 10:54:39 UTC (rev 10091)
@@ -257,7 +257,16 @@
 /* The following macros may be used in dl-startup.c to debug
  * ldso before ldso has fixed itself up to make function calls */
 
+/* On some (wierd) arches, none of this stuff works at all, so
+ * disable the whole lot... */
+#if defined(__mips__)
 
+#define SEND_STDERR(X)
+#define SEND_ADDRESS_STDERR(X, add_a_newline)
+#define SEND_NUMBER_STDERR(X, add_a_newline)
+
+#else
+
 /* On some arches constant strings are referenced through the GOT.
  * This requires that load_addr must already be defined... */
 #if defined(mc68000) || defined(__arm__) || defined(__mips__)	\
@@ -307,6 +316,7 @@
     } while ((X) > 0);						\
     _dl_write (2, tmp2, tmp1 - tmp2 + sizeof(tmp) - 1);		\
 };
+#endif
 
 
 #endif




More information about the uClibc-cvs mailing list