diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2026-02-12 09:48:53 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2026-02-18 09:35:03 -0300 |
| commit | 0a380fe9a31bc2d5793c7c5d22d36c45dfe6e2ed (patch) | |
| tree | 19575a841b5a1a594dce21c264a3860f180da16d /string/Makefile | |
| parent | ecb60726d0c242b9e92683f23259337b3b915fe4 (diff) | |
| download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 | |
Also replace the loop with strlen And remove
-fno-tree-loop-distribute-patterns usage.
It requires redirect the strlen to the baseline implementation
for x86_64, aarch64, and loongarch64.
Checked on x86_64-linux-gnu{-v2,v3} and aarch64-linux-gnu with
both gcc-15 and clang-21.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'string/Makefile')
| -rw-r--r-- | string/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile index c4423c0..aa0b0c2 100644 --- a/string/Makefile +++ b/string/Makefile @@ -286,6 +286,7 @@ CFLAGS-wordcopy.c += $(no-stack-protector) # Called during static initialization CFLAGS-strncmp.c += $(no-stack-protector) CFLAGS-memset.c += $(no-stack-protector) +CFLAGS-strlen.c += $(no-stack-protector) ifeq ($(run-built-tests),yes) $(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out |
