summaryrefslogtreecommitdiffstats
path: root/common/misc.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-10 15:33:41 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-28 09:55:02 +0100
commit2c2d00a2816099ef90c149562b9f939048742c1f (patch)
tree38dd508bb09695330bfce64054f00f73be98b0e1 /common/misc.c
parent5c50423b7011346c4a38309d82394e6a2d3cdf29 (diff)
downloadbarebox-2c2d00a2816099ef90c149562b9f939048742c1f.tar.gz
barebox-2c2d00a2816099ef90c149562b9f939048742c1f.tar.xz
ARM: move exception vectors away from start of binary
Traditionally U-Boot and barebox have the exception vectors at the start of the binary. There is no real reason in doing so, because in the majority of cases this data will not be at 0x0 where it could be used as vectors directly anyway. This patch puts the vectors into a separate linker section and defines an head function which is placed at the start of the image instead. Putting this in a separate function also has the advantage that it can be placed at the start of images which require an additional header like several Freescale i.MX images. As the head function contains the barebox arm magic those images can now also be detected as barebox images. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/misc.c')
0 files changed, 0 insertions, 0 deletions