about summary refs log tree commit diff
path: root/support/support_need_proc.c
diff options
context:
space:
mode:
authorGabi Falk <gabifalk@gmx.com>2024-05-07 18:25:00 +0000
committerSam James <sam@gentoo.org>2024-05-11 01:00:24 +0100
commitab4ef4421f85ea7afeb482ded51003658b08de7e (patch)
tree62d9c7997848c0ce0a2798285bcf39f1c37afae9 /support/support_need_proc.c
parent97bb89668d7171164975f3dc895e38343a2f3a95 (diff)
downloadglibc-ab4ef4421f85ea7afeb482ded51003658b08de7e.tar.gz
glibc-ab4ef4421f85ea7afeb482ded51003658b08de7e.tar.xz
glibc-ab4ef4421f85ea7afeb482ded51003658b08de7e.zip
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>
(cherry picked from commit dd5f891c1ad9f1b43b9db93afe2a55cbb7a6194e)
Diffstat (limited to 'support/support_need_proc.c')
0 files changed, 0 insertions, 0 deletions