[git commit 0_9_30] sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso

austinf austinf at localhost.osuosl.org
Sat Oct 10 16:44:02 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=3ed020019c3906904b99533d5722a9b52fa2bd01
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 ldso/include/dl-string.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index 746bd91..4378adb 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
-- 
1.6.3.3



More information about the uClibc-cvs mailing list