summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/lib/mdct_arm.S2
-rw-r--r--firmware/target/arm/crt0-pp.S2
-rw-r--r--firmware/target/arm/imx31/crt0.S2
-rw-r--r--firmware/target/arm/s3c2440/crt0.S2
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/lib/mdct_arm.S b/apps/codecs/lib/mdct_arm.S
index 76139838a6..f2fa1d9c3e 100644
--- a/apps/codecs/lib/mdct_arm.S
+++ b/apps/codecs/lib/mdct_arm.S
@@ -60,7 +60,7 @@ mdct_butterfly_8:
add r11, r12, r7 @ y7 = (x7 + x3) + (x5 + x1)
stmia r0!, {r1, r2, r3, r4, r5, r6, r10, r11}
- mov pc, lr
+ bx lr
mdct_butterfly_16:
@ inputs: r0,r1 &lr
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 31bf3d6e71..ee95ac8899 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -163,7 +163,7 @@ remap_start:
str r2, [r1]
str r4, [r3]
ldr r1, L_post_remap
- mov pc, r1
+ bx r1
L_post_remap:
.word remap_end
remap_end:
diff --git a/firmware/target/arm/imx31/crt0.S b/firmware/target/arm/imx31/crt0.S
index ef2d7f40b9..d241fcb8ae 100644
--- a/firmware/target/arm/imx31/crt0.S
+++ b/firmware/target/arm/imx31/crt0.S
@@ -67,7 +67,7 @@ newstart:
strhi r4, [r1], #4
bhi 1b
- mov pc, r6
+ bx r6
/* Remapping stub. No absolute addresses may be used until after the
* remapping is complete. */
diff --git a/firmware/target/arm/s3c2440/crt0.S b/firmware/target/arm/s3c2440/crt0.S
index a61f2a3ce2..faa54313e7 100644
--- a/firmware/target/arm/s3c2440/crt0.S
+++ b/firmware/target/arm/s3c2440/crt0.S
@@ -486,7 +486,7 @@ skipreset:
ldr r1, =donecopy
ldr r2, =0x30000000
add r1, r1, r2
- mov pc, r1 /* The code is located where we want it so jump */
+ bx r1 /* The code is located where we want it so jump */
donecopy: