From 4e180baa7f4e358fd5611b67d67c0f73462a8af5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 29 Sep 2003 21:46:00 +0000 Subject: Fix SUPPORT_LD_DEBUG_EARLY on powerpc --- ldso/include/dl-string.h | 2 +- ldso/include/ld_string.h | 2 +- 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) \ -- cgit v1.2.3