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:
Jeff Johnston 2008-07-08 20:36:27 +00:00
parent 23672785ee
commit 17bfd1e083
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.

View File

@ -54,8 +54,8 @@ _memset:
inc a0
sub 1, a1
lne
mov d3,a0
.Lepilogue:
mov d3,a0
ret [d2,d3,a2,a3], 16
.Lend_of_memset:
.size _memset, .Lend_of_memset - _memset