diff options
author | Richard Henderson | 2019-04-01 05:11:49 +0200 |
---|---|---|
committer | Palmer Dabbelt | 2019-05-24 21:09:22 +0200 |
commit | 81770255581bd210c57b86a6e808628ab8d0c543 (patch) | |
tree | 0b80a9dbf7bf1dccf3905c76b1f9bb66023e8fc9 /target/riscv/Makefile.objs | |
parent | target/riscv: Name the argument sets for all of insn32 formats (diff) | |
download | qemu-81770255581bd210c57b86a6e808628ab8d0c543.tar.gz qemu-81770255581bd210c57b86a6e808628ab8d0c543.tar.xz qemu-81770255581bd210c57b86a6e808628ab8d0c543.zip |
target/riscv: Use --static-decode for decodetree
The generated functions are only used within translate.c
and do not need to be global, or declared.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'target/riscv/Makefile.objs')
-rw-r--r-- | target/riscv/Makefile.objs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/riscv/Makefile.objs b/target/riscv/Makefile.objs index 9c6c109327..c7a1b063ed 100644 --- a/target/riscv/Makefile.objs +++ b/target/riscv/Makefile.objs @@ -7,14 +7,14 @@ decode32-$(TARGET_RISCV64) += $(SRC_PATH)/target/riscv/insn32-64.decode target/riscv/decode_insn32.inc.c: $(decode32-y) $(DECODETREE) $(call quiet-command, \ - $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn32 $(decode32-y), \ - "GEN", $(TARGET_DIR)$@) + $(PYTHON) $(DECODETREE) -o $@ --static-decode decode_insn32 \ + $(decode32-y), "GEN", $(TARGET_DIR)$@) target/riscv/decode_insn16.inc.c: \ $(SRC_PATH)/target/riscv/insn16.decode $(DECODETREE) $(call quiet-command, \ - $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn16 --insnwidth 16 $<, \ - "GEN", $(TARGET_DIR)$@) + $(PYTHON) $(DECODETREE) -o $@ --static-decode decode_insn16 \ + --insnwidth 16 $<, "GEN", $(TARGET_DIR)$@) target/riscv/translate.o: target/riscv/decode_insn32.inc.c \ target/riscv/decode_insn16.inc.c |