diff options
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/bsd-proc.h | 3 | ||||
-rw-r--r-- | bsd-user/signal.c | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h index a1061bf..0e1d461 100644 --- a/bsd-user/bsd-proc.h +++ b/bsd-user/bsd-proc.h @@ -25,9 +25,6 @@ /* exit(2) */ static inline abi_long do_bsd_exit(void *cpu_env, abi_long arg1) { -#ifdef TARGET_GPROF - _mcleanup(); -#endif gdb_exit(arg1); qemu_plugin_user_exit(); _exit(arg1); diff --git a/bsd-user/signal.c b/bsd-user/signal.c index 4109aa5..f82df50 100644 --- a/bsd-user/signal.c +++ b/bsd-user/signal.c @@ -847,11 +847,6 @@ void signal_init(void) act.sa_flags = SA_SIGINFO; for (i = 1; i <= TARGET_NSIG; i++) { -#ifdef CONFIG_GPROF - if (i == TARGET_SIGPROF) { - continue; - } -#endif host_sig = target_to_host_signal(i); sigaction(host_sig, NULL, &oact); if (oact.sa_sigaction == (void *)SIG_IGN) { |