Changeset da349da0 in mainline for boot/arch/arm32/loader/asm.S


Ignore:
Timestamp:
2008-08-10T15:28:42Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9d4d2c
Parents:
d2e9c47
Message:

memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/loader/asm.S

    rd2e9c47 rda349da0  
    3636        bic     r3, r3, #3
    3737        cmp     r1, r3
    38         stmdb   sp!, {r4, lr}
     38        stmdb   sp!, {r4, r5, lr}
     39        mov     r5, r0
    3940        beq     4f
    40411:
     
    4950        bne     2b
    50513:
    51         mov     r0, r1
    52         ldmia   sp!, {r4, pc}
     52        mov     r0, r5
     53        ldmia   sp!, {r4, r5, pc}
    53544:
    5455        add     r3, r0, #3
Note: See TracChangeset for help on using the changeset viewer.