cores/cpu/microwatt: temporary revert crt0.S/setup stack.
lxsim --cpu-type=microwatt --cpu-variant=standard+ghdl no longer working otherwise.
This commit is contained in:
parent
e32e8c069b
commit
84617b585b
|
@ -76,8 +76,10 @@ _start:
|
||||||
bdnz 0b
|
bdnz 0b
|
||||||
1:
|
1:
|
||||||
/* setup stack */
|
/* setup stack */
|
||||||
ld %r1,_fstack@got(%r2)
|
LOAD_IMM64(%r1, _fstack - 0x100)
|
||||||
bl main
|
LOAD_IMM64(%r12, main)
|
||||||
|
mtctr %r12,
|
||||||
|
bctrl
|
||||||
b .
|
b .
|
||||||
|
|
||||||
#define EXCEPTION(nr) \
|
#define EXCEPTION(nr) \
|
||||||
|
|
Loading…
Reference in New Issue