1/1

|
about or32-uclinux-sim
by Unknown on Sep 15, 2004 |
Not available! | ||
|
hi,all
i have one problem to solve.i need your help. i had edited a C program.then i use or32-uclinux-sim to simulator. by step by step ,i found that it has problem in the extrance of main(),as follows: 04000544:(_main):9c218ef8 l.addi r1,r1,-28936(next insn),the next step is l.sw 0x0(r1),r9 ,because the r1's contents is ffffa268,so the error occurs :exception:write out of memory(32-bit access to ffffa268) but i also have another program , the extrance of main() is l.addi,r1,r1,-4 l.sw 0x0(r1),r9 ,so the program can be run correctly. i don't know why there are difference extrances between two program? thanks a lot |
|||
|
about or32-uclinux-sim
by Unknown on Sep 17, 2004 |
Not available! | ||
|
* beyoelf@163.com (beyoelf@163.com) wrote:
hi,all
i have one problem to solve.i need your help. i had edited a C program.then i use or32-uclinux-sim to simulator. by step by step ,i found that it has problem in the extrance of main(),as follows: 04000544:(_main):9c218ef8 l.addi r1,r1,-28936(next insn),the next step is l.sw 0x0(r1),r9 ,because the r1's contents is ffffa268,so the error occurs :exception:write out of memory(32-bit access to ffffa268) but i also have another program , the extrance of main() is l.addi,r1,r1,-4 l.sw 0x0(r1),r9 ,so the program can be run correctly. i don't know why there are difference extrances between two program? thanks a lot do you try to allocate some huge structure on stack ? regards, p. |
|||
1/1

