aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/op_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mn10300/op_utils.c')
-rw-r--r--sim/mn10300/op_utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/mn10300/op_utils.c b/sim/mn10300/op_utils.c
index 518df9b..316cf75 100644
--- a/sim/mn10300/op_utils.c
+++ b/sim/mn10300/op_utils.c
@@ -188,9 +188,6 @@ do_syscall (void)
#define RETVAL State.regs[0] /* return value */
#define RETERR State.regs[1] /* return error code */
-/* Turn a pointer in a register into a pointer into real memory. */
-#define MEMPTR(x) (State.mem + x)
-
if ( FUNC == TARGET_SYS_exit )
{
/* EXIT - caller can look in PARM1 to work out the reason */