x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S

Was missing to for the multiarch build rtld-strncmp-sse4_2.os was
being built and exporting symbols:

build/glibc/string/rtld-strncmp-sse4_2.os:
0000000000000000 T __strncmp_sse42

Introduced in:

commit 11ffcacb64
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jun 21 12:10:50 2017 -0700

    x86-64: Implement strcmp family IFUNC selectors in C
This commit is contained in:
Noah Goldstein 2022-06-29 18:56:18 -07:00
parent 0aa294fb88
commit 96ac447d91

View file

@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#define STRCMP_SSE42 __strncmp_sse42
#define USE_AS_STRNCMP
#include "strcmp-sse42.S"
#if IS_IN (libc)
# define STRCMP_SSE42 __strncmp_sse42
# define USE_AS_STRNCMP
# include "strcmp-sse42.S"
#endif