lkml.org 
[lkml]   [2009]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 22/30] microblaze_mmu_v1: Update linker script for MMU
Date
From: Michal Simek <monstr@monstr.eu>

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
arch/microblaze/kernel/vmlinux.lds.S | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S
index 840385e..50b4bcf 100644
--- a/arch/microblaze/kernel/vmlinux.lds.S
+++ b/arch/microblaze/kernel/vmlinux.lds.S
@@ -17,8 +17,11 @@ ENTRY(_start)
jiffies = jiffies_64 + 4;

SECTIONS {
+#ifdef CONFIG_MMU
+ . = CONFIG_KERNEL_START;
+#else
. = CONFIG_KERNEL_BASE_ADDR;
-
+#endif
.text : {
_text = . ;
_stext = . ;
--
1.5.5.1


\
 
 \ /
  Last update: 2009-04-27 11:51    [W:0.173 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site