From patchwork Fri Jun 17 16:24:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noah Goldstein X-Patchwork-Id: 55175 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C1150385087F for ; Fri, 17 Jun 2022 16:25:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1150385087F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1655483123; bh=uyDRQPRrOruqQiz904lmrlZBZrYT4i8itis1Kz0ZxVo=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=bv/XVn6sQGDWKHpxLAJ5Wpb37RR7zGjqPe/J46Ah/DZel4V6zvDRXGblOIIQow2Gz HQY/GDuk8hGLxzvAsIZ9CRVNRqtAuQJYs1Sc+yr82Mul5QIbbeMyS+TxQu1Ps0GlTq t1ZjDEd/A5MsrYDDrv9dN9L31FADD5CB6ZI5rgM8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by sourceware.org (Postfix) with ESMTPS id C799C3858C53 for ; Fri, 17 Jun 2022 16:25:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C799C3858C53 Received: by mail-pj1-x102a.google.com with SMTP id gd1so4336317pjb.2 for ; Fri, 17 Jun 2022 09:25:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uyDRQPRrOruqQiz904lmrlZBZrYT4i8itis1Kz0ZxVo=; b=vDOWoyTT6+dK4m1EejhnXwq8rFDndR+kbnBRvusqeg98xG/MNCezjMVJODCcAg10DJ eyz4c3OrTRNGhVZCtVeoRaNfvg5nBS+7GGyl140Ohi5lQgnqM9UHxautnIledjRdzrjp usN9QT0Ktm4mK1R5NKBRm1V+w57O/EFOFHNJlp6FwTRlirpH4AuSzagSLBieeCP7m8k8 vSGngyOFvh1qHUt0aqajsgSFpqth16kX9sMTIT9H4R+6QsItG4xqLTh2JjPvMmtSx3y7 OwHfIpPIFvqSCZmgDluhFQOKADkNrn3l9QewyDAohuVSWogssGZLCGe9g7YC7h9b5d7W EcOw== X-Gm-Message-State: AJIora/Ppz39f6qUf5+eCEaD6hgqN+GMZOO2wbgAGFqDxFrCV7+nwI6N vsquWywMRXR00ewCsuRWuHCi7Zd9vKg= X-Google-Smtp-Source: AGRyM1v6TVu3YN9d9Kmr1Jb1bPay36lbwsGEvNnU+yFDSB775A/PbNkXE5OB/fBl+XNlQ+tI5jNbCQ== X-Received: by 2002:a17:90b:4a83:b0:1e6:4b34:b760 with SMTP id lp3-20020a17090b4a8300b001e64b34b760mr22324733pjb.114.1655483099643; Fri, 17 Jun 2022 09:24:59 -0700 (PDT) Received: from noah-tgl.. ([192.55.60.47]) by smtp.gmail.com with ESMTPSA id f19-20020aa782d3000000b0051bc36b7995sm3892771pfn.62.2022.06.17.09.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 09:24:59 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v2] x86-32: Fix include paths for strspn, strcspn, and strpbrk Date: Fri, 17 Jun 2022 09:24:56 -0700 Message-Id: <20220617162456.1617093-1-goldstein.w.n@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220617152417.1614990-1-goldstein.w.n@gmail.com> References: <20220617152417.1614990-1-goldstein.w.n@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Noah Goldstein via Libc-alpha From: Noah Goldstein Reply-To: Noah Goldstein Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" commit c22eb807b0c8125101f6a274795425be2bbd0386 Author: Noah Goldstein Date: Thu Jun 16 15:07:12 2022 -0700 x86: Rename generic functions with unique postfix for clarity Changed the names of the strspn-c, strcspn-c, and strpbrk-c files in a general refactor. It didn't change the include paths for the x86-32 files breaking the i386 build. This commit fixes that. --- sysdeps/i386/i686/multiarch/strcspn-c.c | 4 ++-- sysdeps/i386/i686/multiarch/strpbrk-c.c | 4 ++-- sysdeps/i386/i686/multiarch/strspn-c.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sysdeps/i386/i686/multiarch/strcspn-c.c b/sysdeps/i386/i686/multiarch/strcspn-c.c index ec230fb383..47bfa66369 100644 --- a/sysdeps/i386/i686/multiarch/strcspn-c.c +++ b/sysdeps/i386/i686/multiarch/strcspn-c.c @@ -1,4 +1,4 @@ #if IS_IN (libc) -# define __strcspn_sse2 __strcspn_ia32 -# include +# define __strcspn_generic __strcspn_ia32 +# include #endif diff --git a/sysdeps/i386/i686/multiarch/strpbrk-c.c b/sysdeps/i386/i686/multiarch/strpbrk-c.c index 5db62053b3..9ef1708aa8 100644 --- a/sysdeps/i386/i686/multiarch/strpbrk-c.c +++ b/sysdeps/i386/i686/multiarch/strpbrk-c.c @@ -1,2 +1,2 @@ -#define __strpbrk_sse2 __strpbrk_ia32 -#include +#define __strpbrk_generic __strpbrk_ia32 +#include diff --git a/sysdeps/i386/i686/multiarch/strspn-c.c b/sysdeps/i386/i686/multiarch/strspn-c.c index bea09dea71..ce599c55a4 100644 --- a/sysdeps/i386/i686/multiarch/strspn-c.c +++ b/sysdeps/i386/i686/multiarch/strspn-c.c @@ -1,2 +1,2 @@ -#define __strspn_sse2 __strspn_ia32 -#include +#define __strspn_generic __strspn_ia32 +#include