* grub-core/kern/arm/misc.S: Make thumb2-compatible.

This commit is contained in:
Leif Lindholm 2013-11-14 01:33:06 +01:00 committed by Vladimir Serbinenko
parent bc8a6137b2
commit 035a26c16a
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2013-11-13 Leif Lindholm <leif.lindholm@linaro.org>
* grub-core/kern/arm/misc.S: Make thumb2-compatible.
2013-11-13 Leif Lindholm <leif.lindholm@linaro.org> 2013-11-13 Leif Lindholm <leif.lindholm@linaro.org>
* .gitignore: fix rules for .dep* and add *.a post git migration * .gitignore: fix rules for .dep* and add *.a post git migration

View file

@ -41,10 +41,10 @@ FUNCTION(__aeabi_lmul)
str r3, [fp, #-16] str r3, [fp, #-16]
ldr r3, [fp, #-8] ldr r3, [fp, #-8]
ldr r2, [fp, #-20] ldr r2, [fp, #-20]
.long 0xe0020293 @ mul r2, r3, r2 mul r2, r3, r2
ldr r3, [fp, #-16] ldr r3, [fp, #-16]
ldr r1, [fp, #-12] ldr r1, [fp, #-12]
.long 0xe0030391 @ mul r3, r1, r3 mul r3, r1, r3
add r2, r2, r3 add r2, r2, r3
ldr r0, [fp, #-12] ldr r0, [fp, #-12]
ldr r1, [fp, #-20] ldr r1, [fp, #-20]
@ -53,7 +53,8 @@ FUNCTION(__aeabi_lmul)
mov r4, r2 mov r4, r2
mov r0, r3 mov r0, r3
mov r1, r4 mov r1, r4
sub sp, fp, #4 mov sp, fp
sub sp, sp, #4
ldmfd sp!, {r4, fp} ldmfd sp!, {r4, fp}
bx lr bx lr