about summary refs log tree commit diff
path: root/sysdeps/alpha
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-07 20:56:11 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-07 20:56:11 +0000
commitd97dfe5facfd10f21eba8f39bef7252cfe6866e5 (patch)
tree3056ebaba3a03904c375b923ba158973d652103c /sysdeps/alpha
parent917e27b827508ea4d184d17f098f777bc918ebbd (diff)
downloadglibc-d97dfe5facfd10f21eba8f39bef7252cfe6866e5.tar.gz
glibc-d97dfe5facfd10f21eba8f39bef7252cfe6866e5.tar.xz
glibc-d97dfe5facfd10f21eba8f39bef7252cfe6866e5.zip
Update.
	* sysdeps/alpha/alphaev67/strncat.S: Align last write address.
	Patch by Richard Henderson <rth@redhat.com>.
	Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
Diffstat (limited to 'sysdeps/alpha')
-rw-r--r--sysdeps/alpha/alphaev67/strncat.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/alpha/alphaev67/strncat.S b/sysdeps/alpha/alphaev67/strncat.S
index 31ca19d299..4e16f83824 100644
--- a/sysdeps/alpha/alphaev67/strncat.S
+++ b/sysdeps/alpha/alphaev67/strncat.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    Contributed by Richard Henderson <rth@tamu.edu>, 1996.
    EV67 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
 
@@ -66,7 +66,7 @@ $found:	cttz	t1, t2		# U0 :
 	/* Worry about the null termination.  */
 
 	cttz	t10, t2		# U0: byte offset of end-of-count.
-	nop			# E :
+	bic	a0, 7, a0	# E : word align the last write address.
 	zapnot	t0, t8, t1	# U : was last byte a null?
 	nop			# E :