[PATCH] gas: Revert PR 32391 related commits to fix 3 regressions
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 26 Dec 2024 08:12:36 +0000 (16:12 +0800)
committerMatthias Klose <doko@debian.org>
Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)
commit0d694789b07e97facb343b7eb8647dcce25bd97b
treef7ef966862f1ba710176d75f862b1ca8d85ea25e
parent164248c9d4510efdc87e52eb4cdafda912bb709a
[PATCH] gas: Revert PR 32391 related commits to fix 3 regressions

From hjl.tools@gmail.com  Thu Dec 26 08:12:36 2024
Message-ID: <20241226081236.495980-1-hjl.tools@gmail.com>

9f2e3c21f65 Fix the handling or arguments and macro pseudo-variables inside nested assembler macros.

introduced 3 regressions of PR gas/32484, PR gas/32486 and PR gas/32487.
Revert all PR 32391 related commits and add tests for PR gas/32484,
PR gas/32486, PR gas/32487.

PR gas/32484
PR gas/32486
PR gas/32487
* testsuite/gas/macros/macros.exp: Run nesting1, nesting2 and
nesting3.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Gbp-Pq: Name pr32391-revert.diff
15 files changed:
gas/config/tc-iq2000.c
gas/doc/as.texi
gas/input-scrub.c
gas/macro.c
gas/macro.h
gas/read.c
gas/testsuite/gas/macros/macros.exp
gas/testsuite/gas/macros/nesting.d [deleted file]
gas/testsuite/gas/macros/nesting.s [deleted file]
gas/testsuite/gas/macros/nesting1.d [new file with mode: 0644]
gas/testsuite/gas/macros/nesting1.s [new file with mode: 0644]
gas/testsuite/gas/macros/nesting2.d [new file with mode: 0644]
gas/testsuite/gas/macros/nesting2.s [new file with mode: 0644]
gas/testsuite/gas/macros/nesting3.d [new file with mode: 0644]
gas/testsuite/gas/macros/nesting3.s [new file with mode: 0644]