arm: zynq: fix a bug in Zynq linker script
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 5 Jun 2014 10:47:45 +0000 (19:47 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 17 Jun 2014 10:28:26 +0000 (12:28 +0200)
Commit 41623c91 moved exception handlers to ".vectores" section
but it missed to adjust Zynq linker script.

Zynq boards hang up after relocation because "_start" symbol
does not point to the correct address and gd->relocaddr gets insane.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Michal Simek <monstr@monstr.eu>
Tested-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/u-boot.lds

index 69500a64e2ac17bcc17c86f4701b1213f0ddacdb..4dc9bb0102c3611cf78fb3c62d8b6f67a858c4a2 100644 (file)
@@ -18,6 +18,7 @@ SECTIONS
        .text :
        {
                *(.__image_copy_start)
+               *(.vectors)
                CPUDIR/start.o (.text*)
                *(.text*)
        }