* sysdeps/arm/memset.S (memset): Correct handling of negative
arguments.
This commit is contained in:
parent
b033155aa9
commit
a7ed1adbec
|
@ -1,3 +1,8 @@
|
|||
2005-10-10 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* sysdeps/arm/memset.S (memset): Correct handling of negative
|
||||
arguments.
|
||||
|
||||
2005-10-10 Philip Blundell <philb@gnu.org>
|
||||
|
||||
* sysdeps/arm/_mcount.S: Suppress profiling when building this
|
||||
|
|
|
@ -32,6 +32,7 @@ ENTRY(memset)
|
|||
subne r2, r2, #1
|
||||
bne 1b
|
||||
|
||||
and r1, r1, #255 @ clear any sign bits
|
||||
orr r1, r1, r1, lsl $8
|
||||
orr r1, r1, r1, lsl $16
|
||||
|
||||
|
|
Loading…
Reference in New Issue