Remove data_abort_handler from ARM crt0 files.

This causes data_abort_handler from lib/unwarminder/safe_read.S to be
used instead. It allows unwarminder to avoid data aborts when
displaying the backtrace. A data_abort_handler remains in system-arm.c,
but it is not used because it is declared as a weak symbol.

Change-Id: I832066ed514347fe697e219872e90fbdd937f477
Reviewed-on: http://gerrit.rockbox.org/475
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Tested-by: Boris Gjenero <boris.gjenero@gmail.com>
This commit is contained in:
Boris Gjenero 2013-05-22 13:05:47 -04:00
parent 4077eac839
commit f6e179bd8e
3 changed files with 0 additions and 15 deletions

View file

@ -203,11 +203,6 @@ fiq_handler:
ldmfd sp!, {r0-r7, r12, lr}
subs pc, lr, #4
data_abort_handler:
sub r0, lr, #8
mov r1, #2
b UIE
irq_handler:
#ifndef STUB
stmfd sp!, {r0-r11, r12, lr}

View file

@ -402,11 +402,6 @@ prefetch_abort_handler:
mov r1, #1
b UIE
data_abort_handler:
sub r0, lr, #8
mov r1, #2
b UIE
/* Align stacks to cache line boundary */
.balign 32

View file

@ -351,11 +351,6 @@ prefetch_abort_handler:
mov r1, #1
b UIE
data_abort_handler:
sub r0, lr, #8
mov r1, #2
b UIE
/* should never happen in the bootloader */
fiq_handler:
subs pc, lr, #4