gas/Dwarf: special-case .linefile only for macros
authorJan Beulich <jbeulich@suse.com>
Tue, 29 Mar 2022 06:18:14 +0000 (08:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Mar 2022 06:18:14 +0000 (08:18 +0200)
commitbe13be5b687ff0c31eacb0bdd0ab90c329476ed1
treea1ccaedd3425fb13ccb73464713336cddcd670f7
parent1d1595b48b7146952bdd2f7c90607977dd0c89d6
gas/Dwarf: special-case .linefile only for macros

Restrict the PR gas/16908 workaround to just macros, matching the
original intention as well as the comment there. For constructs like
.irp or .rept the reasoning doesn't apply, as there's no separate
"invocation" point which may be of interest to record (for, as said
there, short macros).
gas/macro.c
gas/testsuite/gas/elf/dwarf-5-irp.d
gas/testsuite/gas/elf/dwarf-5-irp.s