From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by sourceware.org (Postfix) with ESMTPS id D6F153858CD9 for ; Mon, 12 Aug 2024 13:26:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D6F153858CD9 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D6F153858CD9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723469172; cv=none; b=jWZM4zc+YgxrJVg1us8oaqWPC/zNjVY0cC7XT+kj/Xtq8UuFmGWOb84Byiz8LEjyW+9Jh8IgYc2++KgYoU+ByLp73Oyj4gFt0ZeGQapeWrBMtncyHbltHsGMdSVIvSPKrL2TS99y8owHsD3yyBSAK+5lif8uq8XcijUW+tpuA2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723469172; c=relaxed/simple; bh=O1H2Y/6etlGwEAJ/1f/at4CVRDHlQBH6Q8l02SEUmgM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Fczf91rYbgHq3hsx3dwFhn1sPqGEyPnl8djlVYQ/qvQp1rcLcHHPvA+Qe9NNYp7THFLgtG+SUbD+XZ7asDxPfRaEgENS5M1aylt3R+d/6keUsD6N/PFlZgDlhQQ7+cA9WjAAF2QOJEu6/IYLwcxvQf5flHbxFMvfXqsKD7ECEIQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2cd2f89825fso2808543a91.1 for ; Mon, 12 Aug 2024 06:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723469165; x=1724073965; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aNMny1DRjZVT/lh3ZGPAG4qiEvDRc03LVln9sl+mLhE=; b=B8ApXVO9Yg/j+qOAhEwTxu5X25hP1vvU7OEE4bBafCV3assslmSDtN9CqVbSEDOI3q gRELMDE2iiEl7rnoOQHfJYbObpTLLj1cINveumaN8mxSrF9wMW6DShXCXXpfoAYR+iZO +hvCCeiifCyNXSRTUETCIlRNfrkM01yXdkBkSAt5VO6nJrmtGlc3SQPaZjqG0+fmlzrV EnJaseu+AnCkuw9GzCHeVoARKdlZ2MzEEyYOcH+a4f3qE1o9413QlF37HmS1JPQCUeGB lP1l23C2DA7zQhiTXC2j+k6K5VISsbNYRPkL4TCuEcBTSsCB8akhYbEO8BC8C8gGBlVb YP+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723469165; x=1724073965; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aNMny1DRjZVT/lh3ZGPAG4qiEvDRc03LVln9sl+mLhE=; b=oKuUU7yZ7uWzbs9nUsenV81yhEMnBONtiEefpirQqvYkTrZ9DDqu/VQq9AqrkBUhjT UHym+6IFlKhHqSVyAOXsN7yy24bsCv1Pnsk9UpluF0AuGrcrmSeMQ7CBygX1WcVCtEq9 g5cKCCFckNPH8qM+EK2VwF5bHqBqdu31v5SmFOtgkOBtFTrpnaWH2fsNGOxHgTDSDn8p Phr1HWtWYZIvxN5xKIvyNlICaf/5Y7RqczIWJybLuUzkrC/F6rwfBWt5YBr/kO+l9Jm+ vkqQyFDoebkAFd2uEDJ4/WSb+wfJl6b9LP7Ow2p0PSzuwqh6SCtlTTmGv2xHGkQoxoGR p/7A== X-Gm-Message-State: AOJu0Yyo5s9m00srbaAj9CEo+dugVBAzyzoxehKbX0F3ENKkFCyN+gLG NQpQeIwk2lpm4ZJt8yp/YlRya9F9kD51z8CQTijbX/earw6AStaP X-Google-Smtp-Source: AGHT+IFEN9AKV2nf9ylsWnhdTjqHz3Y8kbsWc0Y1ZkXLCCLJVgTFGKD3d35Y5eSoilcJu+9YE0rQkw== X-Received: by 2002:a17:90b:4a46:b0:2c9:7e9e:70b3 with SMTP id 98e67ed59e1d1-2d392641d59mr198195a91.33.1723469164611; Mon, 12 Aug 2024 06:26:04 -0700 (PDT) Received: from gnu-cfl-3.localdomain ([172.56.169.70]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d1fd021b91sm5042639a91.56.2024.08.12.06.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 06:26:03 -0700 (PDT) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 6F6757403A4; Mon, 12 Aug 2024 06:26:02 -0700 (PDT) From: "H.J. Lu" To: binutils@sourceware.org Cc: nickc@redhat.com, jbeulich@suse.com Subject: [PATCH v2 0/3] Restore the original macro behaviors Date: Mon, 12 Aug 2024 06:25:59 -0700 Message-ID: <20240812132602.2088063-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3009.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_ABUSEAT,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Changes in v2 1. Mention PR gas/32073 in reverting commits. 2. Add a test from x86-64 glibc. ---- commit 6ae8a30d44f016cafb46a75843b5109316eb1996 Author: Jan Beulich Date: Fri Aug 9 11:59:31 2024 +0200 gas: have scrubber retain more whitespace breaks GCC builds for ARM, AVR, PRU and others as well as x86-64 kernel and glibc builds. Revert 7dd0dfbde7e gas: drop scrubber states 14 and 15 6ae8a30d44f gas: have scrubber retain more whitespace to restore the original macro behaviors and add tests from Linux kernel and glibc. H.J. Lu (3): Revert "gas: drop scrubber states 14 and 15" Revert "gas: have scrubber retain more whitespace" gas: Add macro tests for PR gas/32073 gas/NEWS | 7 - gas/app.c | 200 ++++++++++++++++++------ gas/config/tc-aarch64.c | 19 +-- gas/config/tc-arm.c | 2 - gas/config/tc-crx.c | 6 +- gas/config/tc-csky.c | 23 +-- gas/config/tc-ia64.h | 3 + gas/config/tc-pru.c | 10 +- gas/config/tc-sparc.c | 48 ++---- gas/config/tc-tic6x.h | 2 + gas/config/tc-v850.c | 4 - gas/testsuite/gas/all/macro.l | 10 -- gas/testsuite/gas/all/macro.s | 4 +- gas/testsuite/gas/i386/x86-64-apx-nf.s | 40 ++--- gas/testsuite/gas/i386/x86-64-macro-1.d | 12 ++ gas/testsuite/gas/i386/x86-64-macro-1.s | 7 + gas/testsuite/gas/i386/x86-64.exp | 2 + gas/testsuite/gas/macros/arg1.d | 8 + gas/testsuite/gas/macros/arg1.s | 7 + gas/testsuite/gas/macros/macros.exp | 2 + opcodes/cgen-asm.in | 52 +++--- opcodes/epiphany-asm.c | 52 +++--- opcodes/fr30-asm.c | 52 +++--- opcodes/frv-asm.c | 52 +++--- opcodes/ip2k-asm.c | 52 +++--- opcodes/iq2000-asm.c | 52 +++--- opcodes/lm32-asm.c | 52 +++--- opcodes/m32c-asm.c | 52 +++--- opcodes/m32r-asm.c | 52 +++--- opcodes/mep-asm.c | 52 +++--- opcodes/mt-asm.c | 52 +++--- opcodes/nds32-asm.c | 5 - opcodes/or1k-asm.c | 52 +++--- opcodes/xstormy16-asm.c | 52 +++--- 34 files changed, 477 insertions(+), 620 deletions(-) create mode 100644 gas/testsuite/gas/i386/x86-64-macro-1.d create mode 100644 gas/testsuite/gas/i386/x86-64-macro-1.s create mode 100644 gas/testsuite/gas/macros/arg1.d create mode 100644 gas/testsuite/gas/macros/arg1.s -- 2.46.0