summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authoraustinf <austinf@localhost>2009-04-11 00:08:47 +0000
committeraustinf <austinf@localhost>2009-04-11 00:08:47 +0000
commit141518c76b0ef3da826b4f3c5fb06378d95a9b63 (patch)
tree6e0ac732a96a77e8dd0245746739b87fb053b999 /ldso
parent068f8b0195b18d84897ebe7acae3cf4c9e852946 (diff)
sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/dl-string.h2
1 files changed, 1 insertions, 1 deletions
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