* sysdeps/arm/memset.S (memset): Correct handling of negative

arguments.
This commit is contained in:
Daniel Jacobowitz 2005-10-10 15:00:47 +00:00
parent b033155aa9
commit a7ed1adbec
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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