From d5d62b767594dce23ea7046960bcb0adcced520e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Sat, 3 Sep 2016 07:59:32 +0000 Subject: [PATCH] aros: startup code tweaks for i386, to keep libbase untouched in eax git-svn-id: trunk@34418 - --- rtl/aros/i386/prt0.as | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/rtl/aros/i386/prt0.as b/rtl/aros/i386/prt0.as index 527dc5cb7e..a7bdb7893c 100644 --- a/rtl/aros/i386/prt0.as +++ b/rtl/aros/i386/prt0.as @@ -42,8 +42,7 @@ start: movl _ExecBase,%eax pushl %eax pushl $0 - movl -196(%eax),%eax /* FindTask(nil) */ - call *%eax + call *-196(%eax) /* FindTask(nil) */ addl $8,%esp movl 64(%eax),%ecx /* SPUpper */ @@ -73,8 +72,7 @@ _allocStack: pushl %eax pushl $0 /* MEMF_ANY */ pushl __stklen - movl -456(%eax),%eax /* AllocVec() */ - call *%eax + call *-456(%eax) /* AllocVec() */ addl $12,%esp testl %eax,%eax @@ -94,8 +92,7 @@ _allocStack: lea _initProc,%ebx pushl %ebx pushl %ecx - movl -536(%eax),%eax /* NewStackSwap() */ - call *%eax + call *-536(%eax) /* NewStackSwap() */ addl $16,%esp jmp _afterMain @@ -113,8 +110,7 @@ _freeStack: movl _ExecBase,%eax pushl %eax pushl StackAreaPtr - movl -460(%eax),%eax /* FreeVec() */ - call *%eax + call *-460(%eax) /* FreeVec() */ addl $8,%esp __exit: