Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06b66140 authored by Xin Qi's avatar Xin Qi Committed by Alexander Hofbauer
Browse files

enabel ARM_HAVE_VFP for armv5te-vfp.mk and fix vfp.S for armv5-vfp

Change-Id: I5d50a1c4d1dfa1f977e3a3dbfeb4b2bb802fc185
parent 896ab51e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@
    .global crash
    .type crash, %function
crash:
#ifdef __ARM_ARCH_5__ 
    //armv5-vfp doesn't have fconstd instruction
#else  //#ifdef __ARM_ARCH_5__ 
    fconstd   d0, #0
    fconstd   d1, #1
    fconstd   d2, #2
@@ -37,6 +40,7 @@ crash:
    fconstd   d30, #30
    fconstd   d31, #31
#endif
#endif  //#ifdef __ARM_ARCH_5__ 
    mov       r0, #0
    str       r0, [r0]
    bx        lr