Changeset f2b3d3e in mainline for uspace/lib/c/arch/arm32/src/eabi.S


Ignore:
Timestamp:
2012-05-04T10:57:48Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
35a35651
Parents:
90924df (diff), d21e935c (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 mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/arm32/src/eabi.S

    r90924df rf2b3d3e  
    4545
    4646__aeabi_idiv:
    47         push {sp, lr}
     47        push {lr}
    4848        bl __divsi3
    49         ldr lr, [sp, #4]
    50         add sp, sp, #8
    51         bx lr
     49        pop {lr}
     50        mov pc, lr
    5251
    5352__aeabi_uidiv:
    54         push {sp, lr}
     53        push {lr}
    5554        bl __udivsi3
    56         ldr lr, [sp, #4]
    57         add sp, sp, #8
    58         bx lr
     55        pop {lr}
     56        mov pc, lr
    5957
    6058__aeabi_idivmod:
    61         sub sp, sp, #8
    62         push {sp, lr}
    63         bl __divmodsi3
    64         ldr lr, [sp, #4]
    65         add sp, sp, #8
    66         pop {r1, r2}
    67         bx lr
     59        push {lr}
     60        sub sp, sp, #12
     61        add r2, sp, #4
     62        bl __udivmodsi3
     63        ldr r1, [sp, #4]
     64        add sp, sp, #12
     65        pop {lr}
     66        mov pc, lr
    6867
    6968__aeabi_uidivmod:
    70         sub sp, sp, #8
    71         push {sp, lr}
     69        push {lr}
     70        sub sp, sp, #12
     71        add r2, sp, #4
    7272        bl __udivmodsi3
    73         ldr lr, [sp, #4]
    74         add sp, sp, #8
    75         pop {r1, r2}
    76         bx lr
     73        ldr r1, [sp, #4]
     74        add sp, sp, #12
     75        pop {lr}
     76        mov pc, lr
    7777
    7878__aeabi_ldivmod:
    79         sub sp, sp, #8
    80         push {sp, lr}
     79        push {lr}
     80        sub sp, sp, #24
     81        push {sp}
    8182        bl __divmoddi3
    82         ldr lr, [sp, #4]
    83         add sp, sp, #8
     83        add sp, sp, #4
    8484        pop {r2, r3}
    85         bx lr
     85        add sp, sp, #16
     86        pop {lr}
     87        mov pc, lr
    8688
    8789__aeabi_uldivmod:
    88         sub sp, sp, #8
    89         push {sp, lr}
     90        push {lr}
     91        sub sp, sp, #24
     92        push {sp}
    9093        bl __udivmoddi3
    91         ldr lr, [sp, #4]
    92         add sp, sp, #8
     94        add sp, sp, #4
    9395        pop {r2, r3}
    94         bx lr
     96        add sp, sp, #16
     97        pop {lr}
     98        mov pc, lr
Note: See TracChangeset for help on using the changeset viewer.