armv7: do not relocate _start twice
authorVincent Stehlé <v-stehle@ti.com>
Fri, 15 Mar 2013 06:54:00 +0000 (06:54 +0000)
committernotaz <notasas@gmail.com>
Sat, 2 Jul 2016 21:26:07 +0000 (00:26 +0300)
commit7cc4f41796f696233040c99c752e7f08ccec33f9
tree93c7175ec93ff13f1203bc7ba561c37cf5c14cd1
parentc122dbd34d415d05d20753626e7c0544c70cf195
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