Skip to content
Snippets Groups Projects
Commit fb8d8766 authored by Peter Crosthwaite's avatar Peter Crosthwaite Committed by Michal Simek
Browse files

zynq: spl: Add vectors section to linker script


The vectors section contains the _start symbol which is used as the
program entry point. Add it to the linker script in same fashion as done
for regular u-boot. This allows for correct generation of an spl elf
with a non-zero entry point.

A similar change was applied to sunxi platform in
"sunxi: Fix u-boot-spl.lds to refer to .vectors"
(sha1: 9e5f80d8)

This also allows for placement of the vector table at the hivecs
location by setting the TEXT_BASE to 0xffff0000.

Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarPeter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent e76b933e
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ SECTIONS
.text :
{
__image_copy_start = .;
*(.vectors)
CPUDIR/start.o (.text*)
*(.text*)
} > .sram
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment