From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 427DA3860744 for ; Wed, 3 Jul 2024 07:55:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 427DA3860744 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 427DA3860744 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::42c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719993347; cv=none; b=ljo7OTFBaqAJu6SxLOI2nNGTePifcADxQO4nFjPVrNr4uqRZG7AT8zEg98qO8NsbAK+7CaE2wdf0Oy2cI1UtVmpvmS4LrIajDqkhvYqNirEGjzvRy0LrJfMTm+6ZoL20mTGnTTBC481juIe12vMFLwhdQCpbQrkT3rGx5uJwolU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719993347; c=relaxed/simple; bh=+wRkxDQPqhpuSxaWkUhIk3Aa7Hxqx+qU0qWvdFxqqgs=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=o/304760/XmnrtfI1iqWa1bLFxoC78oGg9FVUffxUR/NWSalFpiF2lR0Q6gJPnJQuKyqIYMrzWqW8owz/pfC832vTZ8i571H/eMIySByyrxQIF20Qv9haD9MqZCf96JBh1TO5ynJZIFoVVO5XB2DKSg5WoI6qdTZLFghz7lnf6Q= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-36743a79dceso206957f8f.0 for ; Wed, 03 Jul 2024 00:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1719993345; x=1720598145; darn=sourceware.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=L/YMa6yAEmwPP4gmbX7T6758jyn9f6LinDFAorqCEdE=; b=bc/E5hPgL/H+QRkGGhFf//QM3s09W0U4cg5SNmPybR2WN7uN15goH9YuisPJlC7EA2 2/3JLe2GlmLn0V/oqweXx26RhZ92t1M9/lHPeQtHTz7nVWYxtbo0kRs5rMZqXAh+kCL8 qxUJwBijV82k1JP8NwdUqotJZr0+LizGF8ZTL5Ro480YjbFGrT5xyygE8ID5Cbd49eqt 1pt+EH+fHtS3oDrwss2NF9IekDaysE94hvbm/omrZ3wYrTKFkNMxFwxetB9mLWqDCCuw aFoAjQ0SZhwBF6+FrugVCsComuS7qwcMJNfBt14SLJArUOhZza2KuN2lXmtddI188P/R Gu4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719993345; x=1720598145; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L/YMa6yAEmwPP4gmbX7T6758jyn9f6LinDFAorqCEdE=; b=pH0HOmIBqstmZ6jtrD3l6XAof/LG/ZXmUVZUdQ+yIQC9r9odHC09v0+7I/m1lJl6Lk 1uH6WIZ2GpNpBZV0WHw2ggVDYk4J7KO0w3bfqMMGM+0I0omve5t0qxzTAY29YcwOet6e m8XNo8RaUsiV8mNBBCnbwVEllPV4VoiygOlu/Cjb3Pj3IPw9G4pEoJvK/Wb0Dt+OWKcA EAPxt8SlqL7rslDlbEkreEVwzrDaKVCAshhTgkawbHDvR4+jh0jVdNw8Iopm902gKyoI JTvO9cgW6YmrUsH/bbE3s5PvfTk57EHbJ94QaUHZhl1HgL++lOYS5T7rd+gNiG++gxfT /mww== X-Forwarded-Encrypted: i=1; AJvYcCV5IeFmTjdA09Ofrj+e/dxHdOMm/xmUHnrqzbfUsByL0sTj7iYGTD7VyDMRXPkTa7y7c7iz0+d0ITzjTUMVYz28fxhVG41jXg== X-Gm-Message-State: AOJu0YwR5WJcLQD2YUPcTsnCglOvjDo38HIfjmICaE/16rQQmsxXfvcs wqxCGWCZHWb6IN3SYJV5p70xSFJN+Cs0SVvtd6aaMAwPoTe6HsbYJmwBl88f2w== X-Google-Smtp-Source: AGHT+IGFk/bbCMXPwCAwGbKtJpYqTKkY2mWrMOBYTG70/hP6xrXCJMGEi/JirFmqK0RoG85HvyfEfw== X-Received: by 2002:adf:fa8b:0:b0:362:e874:54e8 with SMTP id ffacd0b85a97d-367947f8cb4mr587491f8f.30.1719993344884; Wed, 03 Jul 2024 00:55:44 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac15388d3sm96748215ad.181.2024.07.03.00.55.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Jul 2024 00:55:44 -0700 (PDT) Message-ID: Date: Wed, 3 Jul 2024 09:55:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/3] gas: add new command line options to control diagnostic information messages To: Matthieu Longo , Nick Clifton , Alan Modra Cc: Richard Earnshaw , binutils@sourceware.org References: <20240702174003.1424939-1-matthieu.longo@arm.com> <20240702174003.1424939-3-matthieu.longo@arm.com> Content-Language: en-US From: Jan Beulich Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYc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cqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: <20240702174003.1424939-3-matthieu.longo@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3024.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 02.07.2024 19:40, Matthieu Longo wrote: > > gas currently emits information messages for context information along warnings. > In the context of system register tests in AArch64 backend, these messages > pollute the tests when checking for error message patterns in stderr output. > > This patch aims at providing two new flags while preserving the existing > behavior if none of the options is provided. > * --info, similar to the existing --warn flag to enable diagnostic > information messages (default behavior). > * --no-info, similar to the existing --no-warn flag to disable diagnostic > information messages. Nick, Alan, what is your take on these option names? Having dropped the 's' from the original form is an improvement imo, but I'm a little afraid "info" (unlike "warn") may become ambiguous with something else down the road. > It also adds the flags to the existing documentation, and command manual. In all of the doc changes you appear to be entirely ignoring the present alphabetical sorting in the blocks you insert into. The info additions want to all move further up; the sorting there isn't on a "related to one another" basis afaics. > --- > gas/as.c | 18 +++++++++++++++++- > gas/as.h | 3 +++ > gas/config/tc-aarch64.c | 3 +++ This change will need explicit buy-off by Arm64 folks. Mind me asking why you Cc-ed only Richard, but not Marcus? Jan > gas/doc/as.texi | 34 ++++++++++++++++++++++++++++++++++ > gas/messages.c | 3 +++ > 5 files changed, 60 insertions(+), 1 deletion(-) >