From: Masahiro Yamada Date: Thu, 5 Jun 2014 10:47:45 +0000 (+0900) Subject: arm: zynq: fix a bug in Zynq linker script X-Git-Tag: v2014.07~74^2~5^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a811db5a8c557138e4d22000aca4ce7f6c3b25b5;p=oweals%2Fu-boot.git arm: zynq: fix a bug in Zynq linker script 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 Cc: Albert ARIBAUD Cc: Michal Simek Tested-by: Michal Simek Signed-off-by: Michal Simek --- diff --git a/arch/arm/cpu/armv7/zynq/u-boot.lds b/arch/arm/cpu/armv7/zynq/u-boot.lds index 69500a64e2..4dc9bb0102 100644 --- a/arch/arm/cpu/armv7/zynq/u-boot.lds +++ b/arch/arm/cpu/armv7/zynq/u-boot.lds @@ -18,6 +18,7 @@ SECTIONS .text : { *(.__image_copy_start) + *(.vectors) CPUDIR/start.o (.text*) *(.text*) }