arm: Add missing .vectors section to linker scripts
Commit 41623c9 'arm: move exception handling out of start.S files' missed some
linker scripts. Hence, some boards no longer had exception handling linked since
this commit. Restore the original behavior by adding the .vectors section to
these linker scripts.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
This commit is contained in:
parent
58c90c88ad
commit
eeadd3fe0f
|
|
@ -22,6 +22,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/arm1136/start.o (.text*)
|
arch/arm/cpu/arm1136/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ SECTIONS
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/arm926ejs/mxs/start.o (.text*)
|
arch/arm/cpu/arm926ejs/mxs/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/armv7/start.o (.text)
|
arch/arm/cpu/armv7/start.o (.text)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/armv7/start.o (.text*)
|
arch/arm/cpu/armv7/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ SECTIONS
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/armv7/start.o (.text*)
|
arch/arm/cpu/armv7/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sdram
|
} >.sdram
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/armv7/start.o (.text*)
|
arch/arm/cpu/armv7/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/arm926ejs/start.o (.text*)
|
arch/arm/cpu/arm926ejs/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/arm926ejs/start.o (.text*)
|
arch/arm/cpu/arm926ejs/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/arm926ejs/start.o (.text*)
|
arch/arm/cpu/arm926ejs/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ SECTIONS
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/arm926ejs/start.o (.text*)
|
arch/arm/cpu/arm926ejs/start.o (.text*)
|
||||||
arch/arm/cpu/arm926ejs/davinci/built-in.o (.text*)
|
arch/arm/cpu/arm926ejs/davinci/built-in.o (.text*)
|
||||||
drivers/mtd/nand/built-in.o (.text*)
|
drivers/mtd/nand/built-in.o (.text*)
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ SECTIONS
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
__start = .;
|
__start = .;
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/armv7/start.o (.text*)
|
arch/arm/cpu/armv7/start.o (.text*)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
} >.sram
|
} >.sram
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ SECTIONS
|
||||||
. = CONFIG_SPL_TEXT_BASE;
|
. = CONFIG_SPL_TEXT_BASE;
|
||||||
.text.0 :
|
.text.0 :
|
||||||
{
|
{
|
||||||
|
*(.vectors)
|
||||||
arch/arm/cpu/pxa/start.o (.text*)
|
arch/arm/cpu/pxa/start.o (.text*)
|
||||||
arch/arm/lib/built-in.o (.text*)
|
arch/arm/lib/built-in.o (.text*)
|
||||||
board/vpac270/built-in.o (.text*)
|
board/vpac270/built-in.o (.text*)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue