diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-09 23:38:15 +0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-11 10:13:49 -0400 |
commit | 926b1cd8cffbcd8cf2d37e779463a4e7e696f73b (patch) | |
tree | bb658c4c5235bc47234c1e4a53ae26923adee067 /sim/mn10300/op_utils.c | |
parent | 6449ed0d3a78ba8c25e8a634f8d6ed120a4cac7f (diff) | |
download | fsf-binutils-gdb-926b1cd8cffbcd8cf2d37e779463a4e7e696f73b.zip fsf-binutils-gdb-926b1cd8cffbcd8cf2d37e779463a4e7e696f73b.tar.gz fsf-binutils-gdb-926b1cd8cffbcd8cf2d37e779463a4e7e696f73b.tar.bz2 |
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.
Diffstat (limited to 'sim/mn10300/op_utils.c')
-rw-r--r-- | sim/mn10300/op_utils.c | 3 |
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 */ |