x86: Add missing IS_IN (libc) check to strcspn-sse4.c
authorNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 30 Jun 2022 01:56:17 +0000 (18:56 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 30 Jun 2022 02:47:52 +0000 (19:47 -0700)
commit0aa294fb887bb5aae4cdfa4b764325466a329131
tree7278229be8d369ee3bf1925f0866b77e96a45f1d
parent8cfbbbcdf90c3b6a941631c7a57a7f8b09598ac4
x86: Add missing IS_IN (libc) check to strcspn-sse4.c

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

build/glibc/string/rtld-strcspn-sse4.os:
                 U ___m128i_shift_right
                 U __strcspn_generic
0000000000000000 T __strcspn_sse42
                 U strlen

build/glibc/string/rtld-varshift.os:
0000000000000000 R ___m128i_shift_right

Introduced in:

commit 06e51c8f3de38761f8855700841bc49cf495c8c0
Author: H.J. Lu <hongjiu.lu@intel.com>
Date:   Fri Jul 3 02:48:56 2009 -0700

    Add SSE4.2 support for strcspn, strpbrk, and strspn on x86-64.
sysdeps/x86_64/multiarch/strcspn-sse4.c
sysdeps/x86_64/multiarch/varshift.c