aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers27b.ver
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-09-11 13:56:36 +0200
committerJan Beulich <jbeulich@suse.com>2024-09-11 13:56:36 +0200
commit6fc346a4b39f7658e99522529308a23b8543ffe3 (patch)
tree7be76ed44066c886ee2fdfb4ce9811efb506dc8f /ld/testsuite/ld-elfvers/vers27b.ver
parent5d2142f10e70183d438a6a85c40aba66c8abc099 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
gas: avoid (scrubber) diagnostics for stuff past .endHEADmaster
What's past an active .end directive (when that has its default purpose) is supposed to be entirely ignored. That should be true not just for regular processing, but also for "pre-processing" (aka scrubbing). A complication is that such a directive may of course occur inside a (false) conditional or a macro definition. To deal with that make sure we can continue as usual if called another time. Note however that .end inside a macro will still have the full macro body expanded; dealing with that would require further (perhaps intrusive) adjustments in sb_scrub_and_add_sb() and/or callers thereof. However, at least some of the warnings issued by do_scrub_chars() are unlikely to occur when expanding a macro. (If we needed to go that far, presumably .exitm would also want recognizing.)
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers27b.ver')
0 files changed, 0 insertions, 0 deletions