Skip to content
Snippets Groups Projects
Commit 6bec1bf6 authored by Thomas Eichinger's avatar Thomas Eichinger
Browse files

Merge pull request #1179 from LudwigOrtmann/native_minifix

Native minifix
parents 293b5934 b43fa232
No related branches found
No related tags found
No related merge requests found
...@@ -272,8 +272,7 @@ void native_irq_handler(void) ...@@ -272,8 +272,7 @@ void native_irq_handler(void)
DEBUG("ignoring SIGUSR1\n"); DEBUG("ignoring SIGUSR1\n");
} }
else { else {
DEBUG("XXX: no handler for signal %i\n", sig); errx(EXIT_FAILURE, "XXX: no handler for signal %i\nXXX: this should not have happened!\n", sig);
errx(1, "XXX: this should not have happened!\n");
} }
} }
......
...@@ -18,8 +18,7 @@ __native_sig_leave_tramp: ...@@ -18,8 +18,7 @@ __native_sig_leave_tramp:
popal popal
popfl popfl
popl __native_saved_eip ret
jmp *-4(%esp)
#else #else
.extern $_native_saved_eip .extern $_native_saved_eip
.extern $_native_isr_ctx .extern $_native_isr_ctx
...@@ -44,6 +43,5 @@ _native_sig_leave_tramp: ...@@ -44,6 +43,5 @@ _native_sig_leave_tramp:
popal popal
popfl popfl
popl _native_saved_eip ret
jmp *-4(%esp)
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment