armv7: do not relocate _start twice
authorVincent Stehlé <v-stehle@ti.com>
Fri, 15 Mar 2013 06:54:00 +0000 (06:54 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 28 Mar 2013 09:15:06 +0000 (10:15 +0100)
commitd53e340edf65ff253d3a7b06ebe60501045892e3
tree927b1d9b288dc275e1f502fce9b3970f01fce716
parentde63ac278cbaaa387da3efaf0b21b819c2b0c496
armv7: do not relocate _start twice

The _start symbol is already relocated, so do not add the relocation the second
time in c_runtime_cpu_setup.

This fixes e.g. the abort exception handling path, which ended in double fault
due to bad address in VBAR.

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Reported-by: Lubomir Popov <lpopov@mm-sol.com>
arch/arm/cpu/armv7/start.S