[git commit ldso-future 1/1] dl-string.h: change guard from mc68000 to __mc68000__
Peter S. Mazinger
ps.m at gmx.net
Wed Mar 30 11:53:36 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=f09a7f9e9f35cdce2d901b92bbceadbf8491d42f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/ldso-future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
ldso/include/dl-string.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index bf77f84..97f39b3 100644
--- a/ldso/include/dl-string.h
+++ b/ldso/include/dl-string.h
@@ -278,8 +278,8 @@ static __always_inline char * _dl_simple_ltoahex(char *local, unsigned long i)
/* 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(__thumb__) || \
- defined(__sh__) || defined(__powerpc__) || \
+#if defined(__mc68000__) || defined(__arm__) || defined(__thumb__) || \
+ defined(__sh__) || defined(__powerpc__) || \
defined(__avr32__) || defined(__xtensa__) || defined(__sparc__)
# define CONSTANT_STRING_GOT_FIXUP(X) \
if ((X) < (const char *) load_addr) (X) += load_addr
--
1.7.3.4
More information about the uClibc-cvs
mailing list