aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-28 16:46:55 +0530
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-07-12 22:31:56 +0200
commit3d748e41c759c7d207806b136be7694cfe2b6d65 (patch)
tree9ce1cf99ff89a5c7efecdcbfbbd4e90d4023306d
parentd53a3ed44605f7f070add30729e93bc7971ff6b1 (diff)
downloadqemu-3d748e41c759c7d207806b136be7694cfe2b6d65.zip
qemu-3d748e41c759c7d207806b136be7694cfe2b6d65.tar.gz
qemu-3d748e41c759c7d207806b136be7694cfe2b6d65.tar.bz2
target/mips: Drop link syscall from semihosting
We don't implement it with _WIN32 hosts, and the syscall is missing from the gdb remote file i/o interface. Since we can't implement it universally, drop it. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220628111701.677216-3-richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
-rw-r--r--target/mips/tcg/sysemu/mips-semi.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/mips/tcg/sysemu/mips-semi.c b/target/mips/tcg/sysemu/mips-semi.c
index 153df1f..93c9d3d 100644
--- a/target/mips/tcg/sysemu/mips-semi.c
+++ b/target/mips/tcg/sysemu/mips-semi.c
@@ -362,15 +362,6 @@ void mips_semihosting(CPUMIPSState *env)
FREE_TARGET_STRING(p, gpr[4]);
abort();
break;
-#ifndef _WIN32
- case UHI_link:
- GET_TARGET_STRINGS_2(p, gpr[4], p2, gpr[5]);
- gpr[2] = link(p, p2);
- gpr[3] = errno_mips(errno);
- FREE_TARGET_STRING(p2, gpr[5]);
- FREE_TARGET_STRING(p, gpr[4]);
- break;
-#endif
default:
error_report("Unknown UHI operation %d", op);
abort();