Make sure this assembly fragment properly supports ARM/THUMB transitions by using the BX, LR instruction instead of antiquated MOV PC, LR.
Change-Id: Ia58b53bf50ccbc471ef001044b18a019631a4df0
related-to-bug: 2774193
diff --git a/Tremolo/bitwiseARM.s b/Tremolo/bitwiseARM.s
index b7c72f1..5805977 100644
--- a/Tremolo/bitwiseARM.s
+++ b/Tremolo/bitwiseARM.s
@@ -169,7 +169,7 @@
ADDLE r12,r12,#32
ADDLE r3,r3,#4
STMIA r0,{r2,r3,r12}
- MOV PC,R14
+ BX LR
adv_slow:
STMFD r13!,{r10,r14}
@@ -227,7 +227,7 @@
RSB r3,r3,#32 @ r3 = BitsInWord
STMIA r0,{r1,r2,r3}
STR r12,[r0,#20]
- MOV PC,R14
+ BX LR
oggpack_read:
@ r0 = oggpack_buffer *b