[PATCH] gas: Fix \+ expansion for .irp and .irpc

Hans-Peter Nilsson hp@axis.com
Thu May 16 15:35:48 GMT 2024


> Date: Wed, 15 May 2024 20:32:30 -0700
> From: Fangrui Song <maskray@google.com>

> and gas/read.c:5635 specifies that ONLY_STANDARD_ESCAPES targets will
> reject unrecognized escaped characters.

Ah, the semantics of ONLY_STANDARD_ESCAPES was what I was
missing - even though you correctly mention it in the
test-case!  (If there had been a bug, it would have been ok
to say that any bug here was pre-existing and you correctly
handle that by xfailing it. :-)

>    # some non-macro tests failed (e.g. FAIL: elf section2 list), but they are unrelated to this patch.

For me, at a09771e687ba z80-elf and cris-elf pass that test
and also run gas, binutils and ld tests without errors.

Thanks for resolving this so quickly!

brgds, H-P


More information about the Binutils mailing list