]> sourceware.org Git - glibc.git/commit
x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4)
authorGabi Falk <gabifalk@gmx.com>
Tue, 7 May 2024 18:25:00 +0000 (18:25 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 8 May 2024 14:37:59 +0000 (07:37 -0700)
commitdd5f891c1ad9f1b43b9db93afe2a55cbb7a6194e
treec241b91b9dd1f1d706d546227afa3aadb18ce35d
parent88dca8d5f85c6ad77f6d754f95cc54e9b905747f
x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4)

This code expects the WCSCAT preprocessor macro to be predefined in case
the evex implementation of the function should be defined with a name
different from __wcsncat_evex.  However, when glibc is built for
x86-64-v4 without multiarch support, sysdeps/x86_64/wcsncat.S defines
WCSNCAT variable instead of WCSCAT to build it as wcsncat.  Rename the
variable to WCSNCAT, as it is actually a better naming choice for the
variable in this case.

Reported-by: Kenton Groombridge
Link: https://bugs.gentoo.org/921945
Fixes: 64b8b6516b ("x86: Add evex optimized functions for the wchar_t strcpy family")
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
sysdeps/x86_64/multiarch/wcsncat-evex.S
This page took 0.041486 seconds and 5 git commands to generate.