about summary refs log tree commit diff
path: root/sysdeps/sh
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 /sysdeps/sh
parent9bb50816d4a7278043e61213cab8b139582a81e9 (diff)
downloadglibc-95029045a3371b79df9669a90b1ce59177c560b4.tar.gz
glibc-95029045a3371b79df9669a90b1ce59177c560b4.tar.xz
glibc-95029045a3371b79df9669a90b1ce59177c560b4.zip
* sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
Diffstat (limited to 'sysdeps/sh')
-rw-r--r--sysdeps/sh/memset.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/sh/memset.S b/sysdeps/sh/memset.S
index ca23449367..9a8e2efd96 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