diff options
| author | Jyun-Yan You <jyyou@cs.nctu.edu.tw> | 2013-03-19 13:34:12 +0800 |
|---|---|---|
| committer | Jyun-Yan You <jyyou.tw@gmail.com> | 2013-04-04 18:53:58 +0800 |
| commit | fdf48a7b52de948b3ec4ba187539a6164a56edcb (patch) | |
| tree | bf36275edf4ce9dcde64757554985817e874bbd5 /src/rt/arch/mips/context.cpp | |
| parent | 99b156e78a592e8195ae7918a1ad958abef96050 (diff) | |
| download | rust-fdf48a7b52de948b3ec4ba187539a6164a56edcb.tar.gz rust-fdf48a7b52de948b3ec4ba187539a6164a56edcb.zip | |
rt: improve mips backend
Diffstat (limited to 'src/rt/arch/mips/context.cpp')
| -rw-r--r-- | src/rt/arch/mips/context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/arch/mips/context.cpp b/src/rt/arch/mips/context.cpp index d8c3c38daa6..7347a92e98b 100644 --- a/src/rt/arch/mips/context.cpp +++ b/src/rt/arch/mips/context.cpp @@ -40,6 +40,7 @@ void context::call(void *f, void *arg, void *stack) regs.data[4] = (uint32_t)arg; regs.data[29] = (uint32_t)sp; + regs.data[25] = (uint32_t)f; regs.data[31] = (uint32_t)f; // Last base pointer on the stack should be 0 |
