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:
Florent Kermarrec 2020-06-22 11:36:19 +02:00
parent e32e8c069b
commit 84617b585b
1 changed files with 5 additions and 3 deletions

View File

@ -76,9 +76,11 @@ _start:
bdnz 0b
1:
/* setup stack */
ld %r1,_fstack@got(%r2)
bl main
b .
LOAD_IMM64(%r1, _fstack - 0x100)
LOAD_IMM64(%r12, main)
mtctr %r12,
bctrl
b .
#define EXCEPTION(nr) \
.= nr; \