From 68784f809ae820107eb556ee4da46ae55af26e3f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Nov 2000 05:46:35 +0000 Subject: Update. * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth parameter of asm must be in %ecx. --- ChangeLog | 3 +++ sysdeps/i386/i486/bits/string.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dbbb2ffcd7..4561f473a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-11-25 Ulrich Drepper + * 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 -- cgit v1.2.3