]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
microblaze: Fix _start symbol to physical address
authorMichal Simek <monstr@monstr.eu>
Mon, 22 Jun 2009 10:55:32 +0000 (12:55 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 22 Sep 2009 08:11:08 +0000 (10:11 +0200)
_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>
arch/microblaze/kernel/vmlinux.lds.S

index dbb98f830f3edcbfcd63cdfa3aafe233ca95e971..e704188d7855ec6115ddef659505ffba6b6d5578 100644 (file)
@@ -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 = . ;