[PATCH 2/4] RISC-V/gas: drop stray call to install_insn()

Jan Beulich jbeulich@suse.com
Fri Sep 30 11:59:23 GMT 2022


add_fixed_insn(), by calling move_insn(), already invokes install_insn().

--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -1476,7 +1476,6 @@ append_insn (struct riscv_cl_insn *ip, e
     }
 
   add_fixed_insn (ip);
-  install_insn (ip);
 
   /* We need to start a new frag after any instruction that can be
      optimized away or compressed by the linker during relaxation, to prevent



More information about the Binutils mailing list