mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
unwarminder: safe_read.S: hide data_abort_handler for non-classic arms
"subs pc, lr, #4" is invalid on cortex-m Change-Id: I3809691ee3a9e3864c592316216178d32ab278fc
This commit is contained in:
parent
d75a5d5769
commit
e6b62b0dbb
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ safe_read32_faulty_addr:
|
|||
bx lr
|
||||
.size safe_read32, . - safe_read32
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(CPU_ARM_CLASSIC)
|
||||
.section .text.data_abort_handler
|
||||
.type data_abort_handler, %function
|
||||
.global data_abort_handler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue