From c810e0b87a2084656af944fe269d8c2680ba5469 Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Mon, 23 May 2016 17:25:46 +0200 Subject: [ARC] Rename "class" named attributes. gas/ 2016-05-23 Cupertino Miranda * config/tc-arc.c (attributes_t): Renamed attribute class to attr_class. (find_opcode_match, assemble_insn, tokenize_extinsn): Changed. opcode/ 2016-05-23 Cupertino Miranda * arc-dis.c (find_format, find_format, get_auxreg) (print_insn_arc): Changed. * arc-ext.h (INSERT_XOP): Likewise. include/ 2016-05-23 Cupertino Miranda * opcode/arc.h (struct arc_opcode): Renamed attribute class to insn_class. (struct arc_flag_class): Renamed attribute class to flag_class. --- opcodes/arc-dis.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'opcodes/arc-dis.c') diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c index 7757ef6..96fd092 100644 --- a/opcodes/arc-dis.c +++ b/opcodes/arc-dis.c @@ -175,7 +175,7 @@ find_format (const struct arc_opcode *arc_table, unsigned int value; /* Check first the extensions. */ - if (cl_flags->class & F_CLASS_EXTEND) + if (cl_flags->flag_class & F_CLASS_EXTEND) { value = (insn[0] & 0x1F); if (arcExtMap_condCodeName (value)) @@ -226,7 +226,7 @@ print_flags (const struct arc_opcode *opcode, const unsigned *flgopridx; /* Check first the extensions. */ - if (cl_flags->class & F_CLASS_EXTEND) + if (cl_flags->flag_class & F_CLASS_EXTEND) { const char *name; value = (insn[0] & 0x1F); @@ -289,7 +289,7 @@ get_auxreg (const struct arc_opcode *opcode, unsigned int i; const struct arc_aux_reg *auxr = &arc_aux_regs[0]; - if (opcode->class != AUXREG) + if (opcode->insn_class != AUXREG) return NULL; name = arcExtMap_auxRegName (value); @@ -527,7 +527,7 @@ print_insn_arc (bfd_vma memaddr, (*info->fprintf_func) (info->stream, "%s", opcode->name); /* Preselect the insn class. */ - switch (opcode->class) + switch (opcode->insn_class) { case BRANCH: case JUMP: -- cgit v1.1