mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
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>
This commit is contained in:
parent
d53a3ed446
commit
3d748e41c7
1 changed files with 0 additions and 9 deletions
|
@ -362,15 +362,6 @@ void mips_semihosting(CPUMIPSState *env)
|
||||||
FREE_TARGET_STRING(p, gpr[4]);
|
FREE_TARGET_STRING(p, gpr[4]);
|
||||||
abort();
|
abort();
|
||||||
break;
|
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:
|
default:
|
||||||
error_report("Unknown UHI operation %d", op);
|
error_report("Unknown UHI operation %d", op);
|
||||||
abort();
|
abort();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue