2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
* libc/machine/mn10300/memset.S: Fix bug where return value is incorrectly set if number of bytes set is a multiple of 4.
This commit is contained in:
parent
23672785ee
commit
17bfd1e083
@ -1,3 +1,8 @@
|
|||||||
|
2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
|
||||||
|
|
||||||
|
* libc/machine/mn10300/memset.S: Fix bug where return value is
|
||||||
|
incorrectly set if number of bytes set is a multiple of 4.
|
||||||
|
|
||||||
2008-07-07 Hans-Peter Nilsson <hp@axis.com>
|
2008-07-07 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
|
* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
|
||||||
|
@ -54,8 +54,8 @@ _memset:
|
|||||||
inc a0
|
inc a0
|
||||||
sub 1, a1
|
sub 1, a1
|
||||||
lne
|
lne
|
||||||
mov d3,a0
|
|
||||||
.Lepilogue:
|
.Lepilogue:
|
||||||
|
mov d3,a0
|
||||||
ret [d2,d3,a2,a3], 16
|
ret [d2,d3,a2,a3], 16
|
||||||
.Lend_of_memset:
|
.Lend_of_memset:
|
||||||
.size _memset, .Lend_of_memset - _memset
|
.size _memset, .Lend_of_memset - _memset
|
||||||
|
Loading…
x
Reference in New Issue
Block a user