diff options
author | Michal Simek <monstr@monstr.eu> | 2009-06-22 12:55:32 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-09-22 10:11:08 +0200 |
commit | cfa9a775b9ddcef7f53c35e489a71cfed8c02710 (patch) | |
tree | 8d43222af785530cb2df24910aab6f3de566ffb7 /arch/microblaze/kernel/vmlinux.lds.S | |
parent | microblaze: Use LOAD_OFFSET macro to get correct LMA for all sections (diff) | |
download | linux-cfa9a775b9ddcef7f53c35e489a71cfed8c02710.tar.xz linux-cfa9a775b9ddcef7f53c35e489a71cfed8c02710.zip |
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 <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/microblaze/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 = . ; |