diff options
author | Stan Shebs <stanshebs@google.com> | 2018-02-07 12:54:57 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2018-02-07 12:54:57 -0800 |
commit | 3a7215f0eaaf6ad015da747f632d177a03121a3b (patch) | |
tree | 44c00049df7e5b39bdd19e75e1ac6ca345c8df06 | |
parent | 9a54bf0a7a990c16d208ad62def4258fc28327d1 (diff) | |
download | glibc-3a7215f0eaaf6ad015da747f632d177a03121a3b.tar glibc-3a7215f0eaaf6ad015da747f632d177a03121a3b.tar.gz glibc-3a7215f0eaaf6ad015da747f632d177a03121a3b.tar.bz2 glibc-3a7215f0eaaf6ad015da747f632d177a03121a3b.zip |
Work around clang assembler error with movzx
-rw-r--r-- | sysdeps/x86_64/strcmp.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S index de54fce647..f8a5f854d2 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 |