diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-04-15 16:13:51 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-05-15 16:24:53 +0200 |
commit | 41623c91b09a0c865fab41acdaff30f060f29ad6 (patch) | |
tree | be63a8504f3d6bcaf9789ab23e933bb083b827d7 /board | |
parent | 60a4f39fcd0d845741b4aaf9764bf54d6abef60c (diff) | |
download | u-boot-imx-41623c91b09a0c865fab41acdaff30f060f29ad6.zip u-boot-imx-41623c91b09a0c865fab41acdaff30f060f29ad6.tar.gz u-boot-imx-41623c91b09a0c865fab41acdaff30f060f29ad6.tar.bz2 |
arm: move exception handling out of start.S files
Exception handling is basically identical for all ARM targets.
Factorize it out of the various start.S files and into a
single vectors.S file, and adjust linker scripts accordingly.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'board')
-rw-r--r-- | board/compulab/cm_t335/u-boot.lds | 1 | ||||
-rw-r--r-- | board/freescale/mx31ads/u-boot.lds | 1 | ||||
-rw-r--r-- | board/ti/am335x/u-boot.lds | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/board/compulab/cm_t335/u-boot.lds b/board/compulab/cm_t335/u-boot.lds index 0984dfe..c8ab716 100644 --- a/board/compulab/cm_t335/u-boot.lds +++ b/board/compulab/cm_t335/u-boot.lds @@ -18,6 +18,7 @@ SECTIONS .text : { *(.__image_copy_start) + *(.vectors) CPUDIR/start.o (.text*) board/compulab/cm_t335/built-in.o (.text*) *(.text*) diff --git a/board/freescale/mx31ads/u-boot.lds b/board/freescale/mx31ads/u-boot.lds index 6da1d4b..61b83bf 100644 --- a/board/freescale/mx31ads/u-boot.lds +++ b/board/freescale/mx31ads/u-boot.lds @@ -22,6 +22,7 @@ SECTIONS /* WARNING - the following is hand-optimized to fit within */ /* the sector layout of our flash chips! XXX FIXME XXX */ + * (.vectors) arch/arm/cpu/arm1136/start.o (.text*) board/freescale/mx31ads/built-in.o (.text*) arch/arm/lib/built-in.o (.text*) diff --git a/board/ti/am335x/u-boot.lds b/board/ti/am335x/u-boot.lds index a9e3d34..2c5a0f8 100644 --- a/board/ti/am335x/u-boot.lds +++ b/board/ti/am335x/u-boot.lds @@ -34,6 +34,7 @@ SECTIONS .text : { *(.__image_copy_start) + *(.vectors) CPUDIR/start.o (.text*) board/ti/am335x/built-in.o (.text*) *(.text*) |