diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-05 19:47:45 +0900 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-06-17 12:28:26 +0200 |
commit | a811db5a8c557138e4d22000aca4ce7f6c3b25b5 (patch) | |
tree | 705a2d94af3ce1e5a320c2e2f32ad89614ae4b7a /arch/arm | |
parent | d8a97f934c64a7ba6f11da5e4cc7f3be57fcb82d (diff) | |
download | u-boot-a811db5a8c557138e4d22000aca4ce7f6c3b25b5.tar.gz u-boot-a811db5a8c557138e4d22000aca4ce7f6c3b25b5.tar.xz u-boot-a811db5a8c557138e4d22000aca4ce7f6c3b25b5.zip |
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 <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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/zynq/u-boot.lds | 1 |
1 files changed, 1 insertions, 0 deletions
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*) } |