Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 6898 → Rev 6902

/contrib/toolchain/gcc/5x/libgcc/config/i386/kos32-app.c
21,6 → 21,14
 
if(!img)
{
// Inform the user via BOARD that libc could not be loaded.
char *errormsg = "[ERROR] libc.dll failed to load. is /kolibrios folder configured?\n";
while (*errormsg) {
__asm__ __volatile__("int $0x40"::"a"(63), "b"(1), "c"(*errormsg));
++errormsg;
}
 
// Exit
asm ("int $0x40" ::"a"(-1));
};