From patchwork Mon Nov 27 18:02:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 170352 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3339669vqx; Mon, 27 Nov 2023 10:02:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2UV9tmEDaLZFf0NVoa+RbUM7f1hCA9myh4OnYCx3W7WtXEhy8KRPPHfg7s4JwX/5TvQ5a X-Received: by 2002:a0c:fd6b:0:b0:67a:5457:77c9 with SMTP id k11-20020a0cfd6b000000b0067a545777c9mr1196779qvs.11.1701108163690; Mon, 27 Nov 2023 10:02:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701108163; cv=pass; d=google.com; s=arc-20160816; b=cm/BhVRIQH68gVng4suIFDL7cLgBFPPbko0MkXk+4O3AHfNjwlhyiyB2kNMQpD4KAE yLKo0CJbMgF93qDxnT2eTo9/zYvmzeuE83obRGM3NxXM4Sys2sKxsmNp58Kv2+iDvxsQ Wg5hLtN0gJPzO/nOw0zN7Cb3EZr9pSF/cCDCenapu94FjIHotLZmJYRqbZAo7mU4+JHE cVZ23KMoN6vQJKu5HIbwv39Ke/N0L4LIiHGbo+UVL5oi8mqJIRuDwohMd8sH6NaeAGVP HDREms4c91SKh0fqYSgaGiMk3bEMqT8yLvzVQQClFkFCcwgmh2AKjtIcs8QeBVxT00W1 kTug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:arc-filter :dmarc-filter:delivered-to; bh=33KjqV3vC9MXsfDNp85haLZZWV4OsK7NxjdZb6Nbm4k=; fh=vcPCoAFD9ELdvNMTpDIWpczE2wb0OD9E1jzZw6wSlzw=; b=UCQ89g4qw6WurgEVOTAi6sCIN9dstszKOQG1E22T010DolGzM5OdsAN12+J+Murhpm iDbPAUKRNi33/wJCGaslKjhEpqogXKtyOmf/2YcMtgJVhJkvoRWNnQSGGet/iYk6A8PM lixP2uzvA+Fhn9IfN5CT3Ed04sUyts75RskstDB8inhazkJH1LMGUBCB9javPZMawcJQ dSGz+uD7s8FDF24naKFYBbmB/eMkLMiMEu9AZZn1x2YliGcGxpS4VGyTKrREVdJagaLP QHe/GlT84JemowglF8drvlNqkM6ZFkRuDatFk+G11zAZRoRP6f8BoKsIE5NKldt+2GzU 251w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id f7-20020ad442c7000000b0067a16624f01si7415101qvr.69.2023.11.27.10.02.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 10:02:43 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 510C2385AE4F for ; Mon, 27 Nov 2023 18:02:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id C7AC2385770A for ; Mon, 27 Nov 2023 18:02:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7AC2385770A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C7AC2385770A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701108142; cv=none; b=k4zrIi/5HeKPaLibszJOMpXgZtcWicHYyBQZ7kbZXS7sAz6NgTnJIgD7DjI7fQM9PgnDTnpeyQvr7Wt0bz786pqqpD3ZIYXVxzC4QIlUNlhB3n1AR9eKyk3UYMfjcLobNOktBKMgnAOxe6PCJhMnOwwXPsQ7JACH/tJAiJT3fRk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701108142; c=relaxed/simple; bh=5gMxPOBUSuwYBsn2OEwbUQ7t5tC/4zzW0ijxVPcEtQc=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=WzM5LCsTzlySwLKXt7oQAzQ5XyevUAiHUfgS3epktSntzYQcxjCcb3V+1IB9A2B9FPZCvEdYjLpYPNteTzE4SiJAEyBxax86v5vdgJonoSo1nZzvoZNar3k9ewAXUOKAgy2n5ciZJE9kUf0eDnOpf2Hr83l9NwDWytWBQ71Op9E= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C370A2F4; Mon, 27 Nov 2023 10:03:07 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.41.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9156A3F5A1; Mon, 27 Nov 2023 10:02:19 -0800 (PST) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [committed] arm: libgcc: tweak warning from __sync_synchronize Date: Mon, 27 Nov 2023 18:02:09 +0000 Message-Id: <20231127180209.548531-1-rearnsha@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783741193329940507 X-GMAIL-MSGID: 1783741193329940507 My previous patch to add an implementation of __sync_syncrhonize with a warning trips a testsuite failure in fortran (and possibly other languages as well) as the framework expects no blank lines in the output, but this warning was generating one. So remove the newline from the end of the message and rely on the one added by the linker instead. Since we're there, remove the trailing period from the message as well, since the convention seems to be not to have one. libgcc/ * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message. --- libgcc/config/arm/lib1funcs.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S index 78887861616..40e9a7a87fb 100644 --- a/libgcc/config/arm/lib1funcs.S +++ b/libgcc/config/arm/lib1funcs.S @@ -2214,7 +2214,7 @@ LSYM(Lchange_\register): .ascii "no effect. Relink with\n" .ascii " -specs=sync-{none,dmb,cp15dmb}.specs\n" .ascii "to specify exactly which barrier format to use and avoid " - .ascii "this warning.\n\0" + .ascii "this warning\0" #endif #endif #endif