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:
commit
6bec1bf643
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user