1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

Merge pull request #1179 from LudwigOrtmann/native_minifix

Native minifix
This commit is contained in:
Thomas Eichinger 2014-05-15 12:22:57 +02:00
commit 6bec1bf643
2 changed files with 3 additions and 6 deletions

View File

@ -272,8 +272,7 @@ void native_irq_handler(void)
DEBUG("ignoring SIGUSR1\n");
}
else {
DEBUG("XXX: no handler for signal %i\n", sig);
errx(1, "XXX: this should not have happened!\n");
errx(EXIT_FAILURE, "XXX: no handler for signal %i\nXXX: this should not have happened!\n", sig);
}
}

View File

@ -18,8 +18,7 @@ __native_sig_leave_tramp:
popal
popfl
popl __native_saved_eip
jmp *-4(%esp)
ret
#else
.extern $_native_saved_eip
.extern $_native_isr_ctx
@ -44,6 +43,5 @@ _native_sig_leave_tramp:
popal
popfl
popl _native_saved_eip
jmp *-4(%esp)
ret
#endif