aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-24 22:54:37 +0000
committerRoland McGrath <roland@gnu.org>2005-07-24 22:54:37 +0000
commit95029045a3371b79df9669a90b1ce59177c560b4 (patch)
treef04f62ed6be74e9c52b48b99c96d8a78f9b3a5da
parent9bb50816d4a7278043e61213cab8b139582a81e9 (diff)
downloadglibc-95029045a3371b79df9669a90b1ce59177c560b4.zip
glibc-95029045a3371b79df9669a90b1ce59177c560b4.tar.gz
glibc-95029045a3371b79df9669a90b1ce59177c560b4.tar.bz2
* sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/sh/memset.S1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cc6f725..44cdd21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
+
+ * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
+
2005-07-24 Ulrich Drepper <drepper@redhat.com>
[BZ #1125]
diff --git a/sysdeps/sh/memset.S b/sysdeps/sh/memset.S
index ca23449..9a8e2ef 100644
--- a/sysdeps/sh/memset.S
+++ b/sysdeps/sh/memset.S
@@ -28,6 +28,7 @@ ENTRY(memset)
bt.s L_byte_loop_init
mov r4,r7
+ extu.b r5,r5
swap.b r5,r1
or r1,r5
swap.w r5,r1