mescc: Mes C Library: Bugfix for tcc-compiled exit assembly.
* lib/linux/x86-mes-gcc/mini.c (_exit): Add clobbered registers %eax, %ebx. Fixes always exit 1.
This commit is contained in:
parent
86609119e3
commit
2056d62065
|
@ -30,6 +30,7 @@ _exit (int code)
|
|||
"int $0x80\n\t"
|
||||
: // no outputs "=" (r)
|
||||
: "rm" (code)
|
||||
: "eax", "ebx"
|
||||
);
|
||||
// not reached
|
||||
_exit (0);
|
||||
|
|
Loading…
Reference in a new issue