]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Arm: correct macro use in gas testsuite
authorJan Beulich <jbeulich@suse.com>
Fri, 19 Jul 2024 09:55:54 +0000 (11:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jul 2024 09:55:54 +0000 (11:55 +0200)
commitcfa18744d435b55bbbbc5ef1ae1df67e84aa1777
tree78821f532714f70f84f1f6d66731dc39dcc4dd30
parentfd05d6b739fd06bbd993e6a673841977d33dd763
Arm: correct macro use in gas testsuite

The way the inner macro invocations are written doesn't quite work as
expected (and would actually break subsequently): Due to overly
aggressive removal of whitespace by the scrubber, the incoming \sym and
\offset arguments actually get concatenated; an empty 3rd argument is
being passed to ldrtest2. That just so happened to work as intended; any
use of \offset alone would have exposed the problem. Quote the 3rd
argument, thus retaining enough whitespace to be independent of scrubber
internals.
gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.s
gas/testsuite/gas/arm/group-reloc-ldrs.s