Browse Source

sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
austinf 16 years ago
parent
commit
141518c76b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldso/include/dl-string.h

+ 1 - 1
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