about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-22 10:57:44 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-22 10:57:44 +0000
commit181e000cfa2dc7857fda16b5b7b1a424322f1860 (patch)
tree7ec5190d732eee62bd669b281299fc19ca265581 /sysdeps/powerpc
parentf042f18f936c0ebe2ece3dcdeb657a833dba5bb0 (diff)
downloadglibc-181e000cfa2dc7857fda16b5b7b1a424322f1860.tar.gz
glibc-181e000cfa2dc7857fda16b5b7b1a424322f1860.tar.xz
glibc-181e000cfa2dc7857fda16b5b7b1a424322f1860.zip
Update.
1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
	bits of two words differ.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/strcmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/strcmp.S b/sysdeps/powerpc/strcmp.S
index 9f4d134419..de8872963a 100644
--- a/sysdeps/powerpc/strcmp.S
+++ b/sysdeps/powerpc/strcmp.S
@@ -84,7 +84,7 @@ L(different):
 	sub   %r3,%r5,%r6
 	bgelr+
 L(highbit):
-	mr    %r3,%r6
+	ori   %r3,%r6,1
 	blr