From 331b43717229eaad2a95bf420f5100079bd53683 Mon Sep 17 00:00:00 2001
From: Ryan Flux <ryan.flux@emsolutions.com.au>
Date: Tue, 4 Oct 2011 10:50:49 +1000
Subject: microblaze mmu/elf/shared lib support

microblaze can either be with mmu or without
If with, use elf rather than flat, and support shared libs

Signed-off-by: Ryan Flux <ryan.flux@emsolutions.com.au>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 ldso/include/dl-string.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ldso/include')

diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index 01ab50ec9..a7e2f47ff 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(__sparc__)
+    defined(__avr32__) || defined(__xtensa__) || defined(__sparc__) || defined(__microblaze__)
 # define CONSTANT_STRING_GOT_FIXUP(X) \
 	if ((X) < (const char *) load_addr) (X) += load_addr
 # define NO_EARLY_SEND_STDERR
-- 
cgit v1.2.3