diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-07-08 16:13:17 -0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-01 12:23:36 -0800 |
commit | c6b346ec551fd82bb1c8d724c73cbd5c2980e0c7 (patch) | |
tree | d68b1af694c1196fc3cdaf3b1a12875c822c2659 /elf/ldconfig.c | |
parent | 0675185923e25ccdce2671da884f7c647dc991ca (diff) | |
download | glibc-c6b346ec551fd82bb1c8d724c73cbd5c2980e0c7.tar.gz glibc-c6b346ec551fd82bb1c8d724c73cbd5c2980e0c7.tar.xz glibc-c6b346ec551fd82bb1c8d724c73cbd5c2980e0c7.zip |
x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064]
commit 6f573a27b6c8b4236445810a44660612323f5a73 Author: Noah Goldstein <goldstein.w.n@gmail.com> Date: Wed Jun 23 01:19:34 2021 -0400 x86-64: Add wcslen optimize for sse4.1 added wcsnlen-sse4.1 to the wcslen ifunc implementation list. Since the random value in the the RSI register is larger than the wide-character string length in the existing wcslen test, it didn't trigger the wcslen test failure. Add a test to force 0 into the RSI register before calling wcslen. (cherry picked from commit a6e7c3745d73ff876b4ba6991fb00768a938aef5)
Diffstat (limited to 'elf/ldconfig.c')
0 files changed, 0 insertions, 0 deletions