diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-04-02 15:15:01 +0200 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2012-04-04 09:21:02 +0200 |
commit | a54072e2992ad8b6fccdaf8e8062f37c53743be8 (patch) | |
tree | a531e721da7f9e61fe54acb6eadcc78e2bbbe1a0 /lib/unwarminder | |
parent | bc41926b8f1b77127dd471fc530e9990624d0e36 (diff) |
arm: fix get_sp (missing return)
__get_sp is missing a return! I don't know how it ever worked.
Use "bx lr" since it works in all cases (armp and thumb).
Change-Id: I26011db333a8a5f96276be83e18da7507c501c38
Reviewed-on: http://gerrit.rockbox.org/206
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Diffstat (limited to 'lib/unwarminder')
-rw-r--r-- | lib/unwarminder/get_sp.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unwarminder/get_sp.S b/lib/unwarminder/get_sp.S index 29356b3ec3..dfab11605f 100644 --- a/lib/unwarminder/get_sp.S +++ b/lib/unwarminder/get_sp.S @@ -31,4 +31,5 @@ get_sp: #if (CONFIG_PLATFORM & PLATFORM_NATIVE) msr cpsr, r1 /* restore mode */ #endif + bx lr .size __get_sp, . - __get_sp |