From: austinf Date: Sat, 11 Apr 2009 00:08:47 +0000 (-0000) Subject: sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=141518c76b0ef3da826b4f3c5fb06378d95a9b63;p=uclinux-h8%2Fuclibc-ng.git sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso Signed-off-by: Austin Foxley --- diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h index 1a47e31ed..01ab50ec9 100644 --- a/ldso/include/dl-string.h +++ b/ldso/include/dl-string.h @@ -286,7 +286,7 @@ static __always_inline char * _dl_simple_ltoahex(char *local, unsigned long i) * This requires that load_addr must already be defined... */ #if defined(mc68000) || defined(__arm__) || defined(__thumb__) || \ defined(__mips__) || defined(__sh__) || defined(__powerpc__) || \ - defined(__avr32__) || defined(__xtensa__) + defined(__avr32__) || defined(__xtensa__) || defined(__sparc__) # define CONSTANT_STRING_GOT_FIXUP(X) \ if ((X) < (const char *) load_addr) (X) += load_addr # define NO_EARLY_SEND_STDERR