Teaching expression() to treat some operations specially
Dmitry Selyutin
ghostmansd@gmail.com
Tue Jul 12 06:58:15 GMT 2022
On Tue, Jul 12, 2022 at 9:25 AM Jan Beulich <jbeulich@suse.com> wrote:
> May I ask which other struct fields are consumed and where? It is
> my understanding that for O_register other fields simply are
> invalid ...
Also, it seems a bit strange that, instead of providing md_operand, we
rather try to parse with a custom routine, register_name:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gas/config/tc-ppc.c;h=5015777d60061e61ffe4c78591b793862919c769;hb=HEAD#l3444
I'd rather expect we have this logic in md_operand.
We could avoid duplicating some bits in ppc_parse_name.
Also, this way, we would cover macros as well, which we don't do now.
--
Best regards,
Dmitry Selyutin
More information about the Binutils
mailing list