From: Michal Simek Date: Mon, 22 Jun 2009 10:55:32 +0000 (+0200) Subject: microblaze: Fix _start symbol to physical address X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=cfa9a775b9ddcef7f53c35e489a71cfed8c02710;p=deliverable%2Flinux.git microblaze: Fix _start symbol to physical address _start is setup to physical kernel start address. This caused that when you load vmlinux (with MMU kernel) via XMD program counter (pc) is setup correctly and then you can write con and start kernel. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S index dbb98f830f3e..e704188d7855 100644 --- a/arch/microblaze/kernel/vmlinux.lds.S +++ b/arch/microblaze/kernel/vmlinux.lds.S @@ -20,6 +20,7 @@ jiffies = jiffies_64 + 4; SECTIONS { . = CONFIG_KERNEL_START; + _start = CONFIG_KERNEL_BASE_ADDR; .text : AT(ADDR(.text) - LOAD_OFFSET) { _text = . ; _stext = . ;