about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-26 05:46:35 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-26 05:46:35 +0000
commit68784f809ae820107eb556ee4da46ae55af26e3f (patch)
treef7bf32c1e016eb5e5162d83437889e5e2290d8d8
parentc3560dfdafe7761efc81f36221dd34c0568c0f59 (diff)
downloadglibc-68784f809ae820107eb556ee4da46ae55af26e3f.tar.gz
glibc-68784f809ae820107eb556ee4da46ae55af26e3f.tar.xz
glibc-68784f809ae820107eb556ee4da46ae55af26e3f.zip
Update.
	* sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
	parameter of asm must be in %ecx.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/i386/i486/bits/string.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dbbb2ffcd7..4561f473a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
+	parameter of asm must be in %ecx.
+
 	* string/tester.c: Mark test functions as static to avoid warnings.
 
 	* iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
diff --git a/sysdeps/i386/i486/bits/string.h b/sysdeps/i386/i486/bits/string.h
index 1a33630b29..bf4b471efd 100644
--- a/sysdeps/i386/i486/bits/string.h
+++ b/sysdeps/i386/i486/bits/string.h
@@ -1015,7 +1015,7 @@ __strncat_g (char *__dest, __const char __src[], size_t __n)
      "decl	%1\n"
      "2:\n\t"
      "movb	$0,(%1)"
-     : "=&a" (__dummy), "=&D" (__tmp), "=&S" (__src), "=&r" (__n)
+     : "=&a" (__dummy), "=&D" (__tmp), "=&S" (__src), "=&c" (__n)
      : "0" (0), "1" (__tmp), "2" (__src), "3" (__n)
      : "memory", "cc");
 #else