]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: generated code/data listing output vs .endr and alike
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Aug 2024 09:21:58 +0000 (11:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Aug 2024 09:21:58 +0000 (11:21 +0200)
commit4f14f47e0ce4c95f50f36fbf7b01ad1ecf136d38
tree65eedecc5794fddb91090b5fddada5ca0a107932
parent358ada8bc5c39c1d18f1e36b0402d5a0e04228ec
gas: generated code/data listing output vs .endr and alike

These ending directives are swallowed by buffer_and_nest() and hence
aren't seen by read_a_source_file(). Thus they also weren't announced to
the listing subsystem. That was, when macro expansions are included,
thus misguided to associate possible output resulting from the first
line of the construct being expanded with both the .endr and that first
line (i.e. showing it twice).
gas/macro.c
gas/testsuite/gas/macros/macros.exp
gas/testsuite/gas/macros/rept.l [new file with mode: 0644]