summaryrefslogtreecommitdiffstats
path: root/lib/unwarminder
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-04-02 15:15:01 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2012-04-04 09:21:02 +0200
commita54072e2992ad8b6fccdaf8e8062f37c53743be8 (patch)
treea531e721da7f9e61fe54acb6eadcc78e2bbbe1a0 /lib/unwarminder
parentbc41926b8f1b77127dd471fc530e9990624d0e36 (diff)
downloadrockbox-a54072e2992ad8b6fccdaf8e8062f37c53743be8.tar.gz
rockbox-a54072e2992ad8b6fccdaf8e8062f37c53743be8.tar.bz2
rockbox-a54072e2992ad8b6fccdaf8e8062f37c53743be8.zip
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.S1
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