summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/dl-string.h2
-rw-r--r--ldso/include/ld_string.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index 647ab1efd..7c01af32f 100644
--- a/ldso/include/dl-string.h
+++ b/ldso/include/dl-string.h
@@ -243,7 +243,7 @@ static inline char *_dl_simple_ltoahex(char * local, unsigned long i)
}
-#if defined mc68000 || defined __arm__ || defined __mips__ || defined __sh__
+#if defined(mc68000) || defined(__arm__) || defined(__mips__) || defined(__sh__) || defined(__powerpc__)
/* On some arches constant strings are referenced through the GOT. */
/* XXX Requires load_addr to be defined. */
#define SEND_STDERR(X) \
diff --git a/ldso/include/ld_string.h b/ldso/include/ld_string.h
index 647ab1efd..7c01af32f 100644
--- a/ldso/include/ld_string.h
+++ b/ldso/include/ld_string.h
@@ -243,7 +243,7 @@ static inline char *_dl_simple_ltoahex(char * local, unsigned long i)
}
-#if defined mc68000 || defined __arm__ || defined __mips__ || defined __sh__
+#if defined(mc68000) || defined(__arm__) || defined(__mips__) || defined(__sh__) || defined(__powerpc__)
/* On some arches constant strings are referenced through the GOT. */
/* XXX Requires load_addr to be defined. */
#define SEND_STDERR(X) \