target/mips: Move helper_cache() to tcg/sysemu/special_helper.c
Move helper_cache() to tcg/sysemu/special_helper.c. The CACHE opcode is privileged and is not accessible in user emulation. However we get a link failure when restricting the symbol to sysemu. For now, add a stub helper to satisfy linking, which abort if ever called. Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-25-f4bug@amsat.org>
Showing
- target/mips/helper.h 0 additions, 2 deletionstarget/mips/helper.h
- target/mips/op_helper.c 0 additions, 35 deletionstarget/mips/op_helper.c
- target/mips/tcg/sysemu/special_helper.c 33 additions, 0 deletionstarget/mips/tcg/sysemu/special_helper.c
- target/mips/tcg/sysemu_helper.h.inc 1 addition, 0 deletionstarget/mips/tcg/sysemu_helper.h.inc
- target/mips/translate.c 13 additions, 0 deletionstarget/mips/translate.c
Loading
Please register or sign in to comment