From f6e179bd8eeb417e0428b8290df4ca058782e8b3 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Wed, 22 May 2013 13:05:47 -0400 Subject: 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 Tested-by: Boris Gjenero --- firmware/target/arm/pp/crt0-pp502x-bl-usb.S | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/target/arm/pp/crt0-pp502x-bl-usb.S') diff --git a/firmware/target/arm/pp/crt0-pp502x-bl-usb.S b/firmware/target/arm/pp/crt0-pp502x-bl-usb.S index 7b0489b2a8..93b1fbaeb5 100644 --- a/firmware/target/arm/pp/crt0-pp502x-bl-usb.S +++ b/firmware/target/arm/pp/crt0-pp502x-bl-usb.S @@ -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 -- cgit v1.2.3