Changeset 01b0262 in mainline for boot/arch/arm32/src/eabi.S


Ignore:
Timestamp:
2012-04-11T18:23:06Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81ee87cd
Parents:
2ce8d95 (diff), d11a181 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge with mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/eabi.S

    r2ce8d95 r01b0262  
    3939
    4040__aeabi_idiv:
    41         push {sp, lr}
     41        push {lr}
    4242        bl __divsi3
    43         ldr lr, [sp, #4]
    44         add sp, sp, #8
    45         bx lr
     43        pop {lr}
     44        mov pc, lr
    4645
    4746__aeabi_uidiv:
    48         push {sp, lr}
     47        push {lr}
    4948        bl __udivsi3
    50         ldr lr, [sp, #4]
    51         add sp, sp, #8
    52         bx lr
     49        pop {lr}
     50        mov pc, lr
    5351
    5452__aeabi_idivmod:
    55         sub sp, sp, #8
    56         push {sp, lr}
    57         bl __divmodsi3
    58         ldr lr, [sp, #4]
    59         add sp, sp, #8
    60         pop {r1, r2}
    61         bx lr
     53        push {lr}
     54        sub sp, sp, #12
     55        add r2, sp, #4
     56        bl __udivmodsi3
     57        ldr r1, [sp, #4]
     58        add sp, sp, #12
     59        pop {lr}
     60        mov pc, lr
    6261
    6362__aeabi_uidivmod:
    64         sub sp, sp, #8
    65         push {sp, lr}
     63        push {lr}
     64        sub sp, sp, #12
     65        add r2, sp, #4
    6666        bl __udivmodsi3
    67         ldr lr, [sp, #4]
    68         add sp, sp, #8
    69         pop {r1, r2}
    70         bx lr
     67        ldr r1, [sp, #4]
     68        add sp, sp, #12
     69        pop {lr}
     70        mov pc, lr
    7171
    7272__aeabi_ldivmod:
    73         sub sp, sp, #8
    74         push {sp, lr}
     73        push {lr}
     74        sub sp, sp, #24
     75        push {sp}
    7576        bl __divmoddi3
    76         ldr lr, [sp, #4]
    77         add sp, sp, #8
     77        add sp, sp, #4
    7878        pop {r2, r3}
    79         bx lr
     79        add sp, sp, #16
     80        pop {lr}
     81        mov pc, lr
    8082
    8183__aeabi_uldivmod:
    82         sub sp, sp, #8
    83         push {sp, lr}
     84        push {lr}
     85        sub sp, sp, #24
     86        push {sp}
    8487        bl __udivmoddi3
    85         ldr lr, [sp, #4]
    86         add sp, sp, #8
     88        add sp, sp, #4
    8789        pop {r2, r3}
    88         bx lr
     90        add sp, sp, #16
     91        pop {lr}
     92        mov pc, lr
Note: See TracChangeset for help on using the changeset viewer.