aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-10-04 09:45:08 +0200
committerJan Beulich <jbeulich@suse.com>2022-10-04 09:45:08 +0200
commit3b25fc4884a93fc61d3de0fc1b46109f26719556 (patch)
tree93e3330e95da7a94bbe0aa9f0bb61dd5d4026d66
parentf5cb31a8ba76b5ab3fa763c642d0e8f4ac292d00 (diff)
downloadgdb-3b25fc4884a93fc61d3de0fc1b46109f26719556.zip
gdb-3b25fc4884a93fc61d3de0fc1b46109f26719556.tar.gz
gdb-3b25fc4884a93fc61d3de0fc1b46109f26719556.tar.bz2
RISC-V/gas: drop stray call to install_insn()
add_fixed_insn(), by calling move_insn(), already invokes install_insn().
-rw-r--r--gas/config/tc-riscv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 3230c5c..fae314c 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -1476,7 +1476,6 @@ append_insn (struct riscv_cl_insn *ip, expressionS *address_expr,
}
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