]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: Fix \+ expansion for .irp and .irpc
authorFangrui Song <maskray@gcc.gnu.org>
Wed, 15 May 2024 22:05:30 +0000 (15:05 -0700)
committerFangrui Song <maskray@gcc.gnu.org>
Wed, 15 May 2024 22:05:30 +0000 (15:05 -0700)
commitb1d28350499d0553067e774f72e4e98c836ae92f
tree2027651dc232d5be1ba1850ca64fae3d89fb1786
parent53071aac476c2d497b313b1ee09a462912cb1d87
gas: Fix \+ expansion for .irp and .irpc

.irp and .irpc receive a null macro_entry.  \+ causes a crash after the
recent \+ support.  Restore the previous behavior.

Signed-off-by: Fangrui Song <maskray@gcc.gnu.org>
gas/macro.c
gas/testsuite/gas/macros/count.l
gas/testsuite/gas/macros/count.s