forked from Imagelibrary/binutils-gdb
sim: mn10300: delete unused memory code
Only one place used get_word/put_word, so inline the usage there. All the rest is dead code so trim it.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user