svn commit: trunk/uClibc/ldso/include
vapier at uclibc.org
vapier at uclibc.org
Tue Jan 31 00:26:23 UTC 2006
Author: vapier
Date: 2006-01-30 16:26:22 -0800 (Mon, 30 Jan 2006)
New Revision: 13734
Log:
John Bowler writes in Bug 385:
in various places defined(__arm__) is used to protect/select code which
is ARM specific, that code must also be selected for __thumb__ because
__thumb__ is an ARM but __arm__ is not set...
Modified:
trunk/uClibc/ldso/include/dl-string.h
Changeset:
Modified: trunk/uClibc/ldso/include/dl-string.h
===================================================================
--- trunk/uClibc/ldso/include/dl-string.h 2006-01-30 23:09:20 UTC (rev 13733)
+++ trunk/uClibc/ldso/include/dl-string.h 2006-01-31 00:26:22 UTC (rev 13734)
@@ -276,8 +276,8 @@
/* 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__) \
- || defined(__sh__) || defined(__powerpc__)
+#if defined(mc68000) || defined(__arm__) || defined(__thumb__) || \
+ defined(__mips__) || defined(__sh__) || defined(__powerpc__)
# define CONSTANT_STRING_GOT_FIXUP(X) \
if ((X) < (const char *) load_addr) (X) += load_addr
# define NO_EARLY_SEND_STDERR
More information about the uClibc-cvs
mailing list