gas d30v_insn plus other non-const pointers

d30v has a bunch of casts that are only needed due to various types
missing a const.  Fix that.
This commit is contained in:
Alan Modra
2025-07-09 09:02:43 +09:30
parent 60ba816bc1
commit de8acd2005
2 changed files with 14 additions and 14 deletions

View File

@@ -279,8 +279,8 @@ extern const struct d30v_format d30v_format_table[];
/* formats, 2 SHORT_A forms and a LONG form. */
struct d30v_insn
{
struct d30v_opcode *op; /* pointer to an entry in the opcode table */
struct d30v_format *form; /* pointer to an entry in the format table */
const struct d30v_opcode *op; /* pointer to an entry in the opcode table */
const struct d30v_format *form; /* pointer to an entry in the format table */
int ecc; /* execution condition code */
};