From 9af706c919bc6bcc3b0838af0b750258c2351975 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Jul 2021 02:05:06 -0400 Subject: sim: mn10300: resolve syscalls dynamically Avoid use of TARGET_ defines and rely on the callback layers to resolve these dynamically so we can support multiple syscall layers instead of assuming the newlib/libgloss numbers all the time. --- sim/mn10300/mn10300.igen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/mn10300/mn10300.igen') diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen index f67468d..9431c0b 100644 --- a/sim/mn10300/mn10300.igen +++ b/sim/mn10300/mn10300.igen @@ -3947,7 +3947,7 @@ { /* OP_F0C0 (); */ PC = cia; - do_syscall (); + do_syscall (SD); } -- cgit v1.1