about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/powerpc/strcmp.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f1fd42ca00..3a0736dc8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
 	* libio/Makefile (routines): Add putwchar and putwchar_u.
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