From f38fa7c980f64d88d1b16be54effaa994c9a3f03 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 7 Feb 2018 12:54:57 -0800 Subject: Work around clang assembler error with movzx --- sysdeps/x86_64/strcmp.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S index f95463155a..933cd53cfb 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 -- cgit 1.4.1