summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-29 21:46:00 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-29 21:46:00 +0000
commit4e180baa7f4e358fd5611b67d67c0f73462a8af5 (patch)
treea83ef9ea03077ee3a1754cc1689a0030c9da8884 /ldso/include
parentf4829d61188cac8ba101afddbdd6c7d876325230 (diff)
Fix SUPPORT_LD_DEBUG_EARLY on powerpc
Diffstat (limited to 'ldso/include')
-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) \