From 331b43717229eaad2a95bf420f5100079bd53683 Mon Sep 17 00:00:00 2001 From: Ryan Flux 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 Signed-off-by: Steve Bennett Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/microblaze/bits/uClibc_page.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/microblaze/bits/uClibc_page.h') diff --git a/libc/sysdeps/linux/microblaze/bits/uClibc_page.h b/libc/sysdeps/linux/microblaze/bits/uClibc_page.h index 8fc81ae32..41b042262 100644 --- a/libc/sysdeps/linux/microblaze/bits/uClibc_page.h +++ b/libc/sysdeps/linux/microblaze/bits/uClibc_page.h @@ -31,7 +31,9 @@ #elif defined(CONFIG_MICROBLAZE_4K_PAGES) #define PAGE_SHIFT 12 #else +#if !defined(CONFIG_MMU) #warning Missing CONFIG_MICROBLAZE_nnK_PAGES, assuming 4K +#endif #define PAGE_SHIFT 12 #endif -- cgit v1.2.3