From patchwork Fri Jun 28 13:15:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 57163 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 D168B382FADF for ; Fri, 28 Jun 2024 13:16:18 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id AEC55382FADF for ; Fri, 28 Jun 2024 13:15:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AEC55382FADF 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 AEC55382FADF Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::232 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719580550; cv=none; b=xAq9UNH/N6ZyFpPqV8t0uKO2VihB3sgoXGN5pHvKQ/EBT1qQytkjEq06+Wot9PkEPdVlFLSgikVCVw3guutBKxgawOBJNdS2KH4Fd/2jdFSn3XldaG4VF2v/ogo7Zc6xYsFXQwML9sP5win39ZeW47yWx1Vc0BndKO3MvOEjdec= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719580550; c=relaxed/simple; bh=8oZS8KRM2tJ5uHNDENSVz2lSAQ80OF3VQwuhHwhyrHM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=ZEqfSJksftBOxIJi5lmQwCs5u1eqQGwqXKes86bMEMdbfFB5GUMGgsfkKOrzM8QD0WgAM4/BmtEo4MeQJ0poYnbib2SNvVFhI4k30P6eifRF/mxRhs1Ov5/QS9ySFlDCKYqx39aeQXhWTrMA80JDL3eLds1UY49Vuq9d5/mdReA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2ec5fad1984so8017521fa.0 for ; Fri, 28 Jun 2024 06:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1719580547; x=1720185347; darn=sourceware.org; h=content-transfer-encoding:cc:autocrypt:subject:from:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=8oZS8KRM2tJ5uHNDENSVz2lSAQ80OF3VQwuhHwhyrHM=; b=bqqqsdlRmROySUq3bKy8jEORPod3qmrTO26/6xfzj+lkHv1ddSYoI+JxqYl5+hGf0T QGOle0lVoErtzbKSLJcrZl3eGdEled5e5PkyVDP6w2xsyRbVhGTGGKdP1fm99Fh1DIjs xUiBwXPH5rW+v6hw3Fa2moUFlG+8Djvx7CqgDCxrYONMmPPNwWdc85yt5LsubGgh04X1 X1ASZiHAuFc3iGpMHCVt3xAFaSM8oOgRQD/QbQNgcj34sRS8LlPHNm15xFjg7jJOWnj7 6B8lRULyX0umiEC2HSmnNRYNcl7snXl2/u2jOmtMr4sVH8j/tpL42nvy0mvGWmEBPUQc YRZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719580547; x=1720185347; h=content-transfer-encoding:cc:autocrypt:subject:from:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8oZS8KRM2tJ5uHNDENSVz2lSAQ80OF3VQwuhHwhyrHM=; b=xGi3X060P9sRGZyhG6hLXUTFESVnj6g3XmELHSEUGQYwznFPq/jmQwGpSYNadC6Ywg TsneMgngRGAY9ZMScEB1PfA9ePmPERSw7+mI46mTKTFC0DX9RyBFWES1lVRgnIez0RSy sZaHJoiZ2blQA3BbHE33L+o07erPb7ZCf0bwDzDlZPvMwjdi7Z0mg69E4h4cgLtIPlQ7 sYD0S2XvmbIU1AOW9r9cLMW0aJsDfP3NwysdylmXjKp0U9nDVa2UMRwcaU3MRcjtR6xA AcQUvn8Byk3or50TeA29wpIIFb9Z9gz3tdLgOMs92eGuGu9GzkaUuhBfLwnDeX7j7Dhm PDhg== X-Gm-Message-State: AOJu0YyxwitqmljOdiDvaJcYBk/UxltNGa4R4OFpOkr8eGjWiKhMDd1z X3X6aPFqgywncyzwNO0u7piUAzSobBfzJ6AZz7vH/I5GJ08/qJX81atCVShTflzoBTO78q69A4w = X-Google-Smtp-Source: AGHT+IEB23G/igePvASG7DC7IMJm7pLQ2R5A8n9xd/DmbjtN3uTuHMxzhACE2FrvR7LYGrjZ6hwzSA== X-Received: by 2002:a2e:9ed7:0:b0:2ec:5922:920d with SMTP id 38308e7fff4ca-2ec5b36c1c9mr118011931fa.51.1719580547071; Fri, 28 Jun 2024 06:15:47 -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 d2e1a72fcca58-70803ecfb09sm1535899b3a.136.2024.06.28.06.15.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jun 2024 06:15:46 -0700 (PDT) Message-ID: Date: Fri, 28 Jun 2024 15:15:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Binutils From: Jan Beulich Subject: [PATCH 00/11] gas: scrubber adjustments Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQq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3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL Cc: Anthony Green , Alan Modra X-Spam-Status: No, score=-3024.4 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 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org The end goal is to finally deal with long standing issues in, in particular, macro handling (see e.g. b3446f947bd1 ["gas: retain whitespace between strings"]). That's the final, still work-in- progress patch (posting for early commenting). I've come across various other issues though, which some of the earlier patches aim at addressing. Imo those are (in principle, subject to feedback of course) fine to go in for 2.43. Whereas I'd prefer the final change to go in relatively early in a release cycle, to allow time to deal with real or perceived regressions (see patch 8 for an example thereof). One of the issues I'm going to face when getting farther in dealing with target specific adjustments is that there are 5 gas targets which don't even have a testsuite subdir: - m32c (no maintainer) - moxie - ns32k (no maintainer) - spu - tic30 (no maintainer) How is one supposed to have even the slightest idea whether a common code change breaks such a target (Cc-ing the two maintainers of the named targets which have one)? I'm already worried enough by targets having only a pretty "slim" set of test cases. 01: there's no scrubber state 12 02: drop scrubber state -2 03: multi-byte warning adjustments 04: don't open-code IS_WHITESPACE() / IS_NEWLINE() 05: pre-init the scrubber's lex[] 06: re-work tic6x scrubber special case 07: consistently drop trailing whitespace when scrubbing 08: Arm: correct macro use in gas testsuite 09: Arm: relax gas testsuite whitespace expectations 10: aarch64: relax gas testsuite whitespace expectations 11: have scrubber retain more whitespace Jan