From patchwork Mon Aug 8 03:26:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noah Goldstein X-Patchwork-Id: 1664395 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=sVj3O47n; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M1M7b5jTfz9s07 for ; Mon, 8 Aug 2022 13:26:50 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E8B5038582B3 for ; Mon, 8 Aug 2022 03:26:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8B5038582B3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1659929203; bh=SysEZIwfL/xiNY9TvW8FbaA6tfO305HVFzqZRKG+k5k=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=sVj3O47nWjOX33ZQle5fnCqQn2+zzerfcepkMU8BFoJqND+8GCbyfjm3nsqvIiFWN apJVer2B81uaegqOkVu0uMiGyzo8w8so+8kld+xlB+K+KO7uRPoG9dkLL4igmnjRO+ yEVrTh/GEdoVxrK3wnvYhmrk/tsR6E9hEYIVW+rQ= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id DBA0438582B3 for ; Mon, 8 Aug 2022 03:26:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DBA0438582B3 Received: by mail-pg1-x535.google.com with SMTP id d7so7451520pgc.13 for ; Sun, 07 Aug 2022 20:26:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=SysEZIwfL/xiNY9TvW8FbaA6tfO305HVFzqZRKG+k5k=; b=dHVCKJHRdQE7RI+7udFVx0jCOjbdILGcJllFNZAf2qG0fBmiSv2hiC38EaCuurY6gW zwnMYKmvgmuSknhJux8W9o1yISVG7q2qsImlkDNsmKM+w6VIHYWciqmvzb1hP9RZ5mM6 ovSXvm+55mQ1/at3x6q7GEmbCSk7pyFrfZ2MtyWuf+XuYo3/I3CwqeHKb+YtqDLGp6a1 8UtIdBmWSNjHJjTxG6Xlk6SZFNjIDy4ktQgfRII2lawHlTwuWoCEz2pNCgOaZxxzfHY6 TBTBXT/wjl1LqElpsXG/p4MIqAc1WctiLBc/6bumQ8DaH+5jorQVNqwye8YRBKqkBcPC yyow== X-Gm-Message-State: ACgBeo023MY/B+h2LowAO27SF8yVjjJlEQkJgAoonDjBu8U9CW1JzvyN pV0b0AiFYU+xnVqpcPAsdOHWG82E0I+S4dad X-Google-Smtp-Source: AA6agR6i4JqSsLYF7SOED87jAwSndf7RuETeQKBe4pigvlKR/QaMBVBRxU2vvVpjBBcp3JcsYXxY5Q== X-Received: by 2002:a63:c143:0:b0:41b:99c6:1f6 with SMTP id p3-20020a63c143000000b0041b99c601f6mr13902667pgi.353.1659929188522; Sun, 07 Aug 2022 20:26:28 -0700 (PDT) Received: from noah-tgl.. ([192.198.168.42]) by smtp.gmail.com with ESMTPSA id w8-20020a170902904800b0016d23e941f2sm7294579plz.258.2022.08.07.20.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 20:26:28 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v1] x86: Fix `#define STRCPY` guard in strcpy-sse2.S Date: Mon, 8 Aug 2022 11:26:21 +0800 Message-Id: <20220808032622.3804534-1-goldstein.w.n@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 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+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" `#ifndef STPCPY` is incorrect for checking if `STRCPY` is already defined. It doesn't end up mattering as the whole check is guarded by `#if IS_IN (libc)` but is incorrect none the less. --- sysdeps/x86_64/multiarch/strcpy-sse2.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2.S b/sysdeps/x86_64/multiarch/strcpy-sse2.S index e29b411314..d6b9bae5f8 100644 --- a/sysdeps/x86_64/multiarch/strcpy-sse2.S +++ b/sysdeps/x86_64/multiarch/strcpy-sse2.S @@ -22,7 +22,7 @@ # include -# ifndef STPCPY +# ifndef STRCPY # define STRCPY __strcpy_sse2 # endif