From: Stan Shebs Date: Wed, 7 Feb 2018 20:54:57 +0000 (-0800) Subject: Work around clang assembler error with movzx X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a7215f0eaaf6ad015da747f632d177a03121a3b;p=thirdparty%2Fglibc.git Work around clang assembler error with movzx --- diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S index de54fce6471..f8a5f854d23 100644 --- a/sysdeps/x86_64/strcmp.S +++ b/sysdeps/x86_64/strcmp.S @@ -2232,8 +2232,9 @@ LABEL(strcmp_exitz): .p2align 4 LABEL(Byte0): - movzx (%rsi), %ecx - movzx (%rdi), %eax + # Clang assembler objects to movzx here. + movzbl (%rsi), %ecx + movzbl (%rdi), %eax #if defined USE_AS_STRCASECMP_L || defined USE_AS_STRNCASECMP_L leaq _nl_C_LC_CTYPE_tolower+128*4(%rip), %rdx