projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac0967
)
* simops.c (syscall): Handle new mn10300 calling conventions.
author
Jeff Law
<law@redhat.com>
Tue, 8 Apr 1997 06:01:20 +0000
(06:01 +0000)
committer
Jeff Law
<law@redhat.com>
Tue, 8 Apr 1997 06:01:20 +0000
(06:01 +0000)
Forgot to check this in last week.
sim/mn10300/simops.c
patch
|
blob
|
history
diff --git
a/sim/mn10300/simops.c
b/sim/mn10300/simops.c
index
de9241e
..
27f6fda
100644
(file)
--- a/
sim/mn10300/simops.c
+++ b/
sim/mn10300/simops.c
@@
-2894,10
+2894,10
@@
void OP_F020 (insn, extension)
/* Registers passed to trap 0 */
/* Function number. */
-#define FUNC (
load_mem (State.regs[REG_SP] + 4, 4)
)
+#define FUNC (
State.regs[0]
)
/* Parameters. */
-#define PARM1 (
load_mem (State.regs[REG_SP] + 8, 4)
)
+#define PARM1 (
State.regs[1]
)
#define PARM2 (load_mem (State.regs[REG_SP] + 12, 4))
#define PARM3 (load_mem (State.regs[REG_SP] + 16, 4))