Commit 9a688754 authored by Andreas Huber's avatar Andreas Huber
Browse files

Make sure this assembly fragment properly supports ARM/THUMB transitions by...

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
parent 1a7ca64d
......@@ -169,7 +169,7 @@ oggpack_adv:
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 @@ oggpack_readinit:
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment