public inbox for
help / color / mirror / Atom feed
* [glibc] x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S
@ 2022-06-30  3:04 Noah Goldstein
  0 siblings, 0 replies; only message in thread
From: Noah Goldstein @ 2022-06-30  3:04 UTC (permalink / raw)
  To: glibc-cvs;h=96ac447d915ea5ecef3f9168cc13f4e731349a3b

commit 96ac447d915ea5ecef3f9168cc13f4e731349a3b
Author: Noah Goldstein <>
Date:   Wed Jun 29 18:56:18 2022 -0700

    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:
    0000000000000000 T __strncmp_sse42
    Introduced in:
    commit 11ffcacb64a939c10cfc713746b8ec88837f5c4a
    Author: H.J. Lu <>
    Date:   Wed Jun 21 12:10:50 2017 -0700
        x86-64: Implement strcmp family IFUNC selectors in C

 sysdeps/x86_64/multiarch/strncmp-sse4_2.S | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sysdeps/x86_64/multiarch/strncmp-sse4_2.S b/sysdeps/x86_64/multiarch/strncmp-sse4_2.S
index 9773e5fc09..310a6dbe77 100644
--- a/sysdeps/x86_64/multiarch/strncmp-sse4_2.S
+++ b/sysdeps/x86_64/multiarch/strncmp-sse4_2.S
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <>.  */
-#define STRCMP_SSE42 __strncmp_sse42
-#include "strcmp-sse42.S"
+#if IS_IN (libc)
+# define STRCMP_SSE42 __strncmp_sse42
+# define USE_AS_STRNCMP
+# include "strcmp-sse42.S"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-30  3:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  3:04 [glibc] x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S Noah Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).