TX53 creates an FCB at the start of the ELF image. This offsets _start
from __image_copy_start leading to relocation errors.
Temporary fix this by using _start instead of __image_copy_start.
A better fix would be to implement a 'romupdate' command, that takes
care of creating the FCB at runtime.
*/
ENTRY(relocate_code)
- ldr r1, =__image_copy_start /* r1 <- SRC &__image_copy_start */
+ ldr r1, =_start /* r1 <- SRC &__image_copy_start */
subs r9, r0, r1 /* r9 <- relocation offset */
beq relocate_done /* skip relocation */
ldr r2, =__image_copy_end /* r2 <- SRC &__image_copy_end */