From: Alice Carlotti Date: Wed, 5 Nov 2025 13:21:02 +0000 (+0000) Subject: aarch64: Improve comment for aarch64_opnd_info.sysreg.flags X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc6ffb18e9845a7ee09cea829e4b2ba4475c0f0;p=thirdparty%2Fbinutils-gdb.git aarch64: Improve comment for aarch64_opnd_info.sysreg.flags This field is used differently during assembly and disassembly. It would be nice if we could make this more consistent, but for now just extend the comment to explain what is going on. --- diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index e65b61c3f9c..68a181c531f 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -1785,7 +1785,9 @@ struct aarch64_opnd_info /* The encoding of the system register. */ aarch64_insn value; - /* The system register flags. */ + /* The system register flags. During assembly this contains the + flags from aarch64-sys-regs.def. During disassembly this stores + either F_REG_READ or F_REG_WRITE, depending upon the opcode. */ uint32_t flags; } sysreg;