aboutsummaryrefslogtreecommitdiff
path: root/darwin-user
diff options
context:
space:
mode:
Diffstat (limited to 'darwin-user')
-rw-r--r--darwin-user/main.c8
-rw-r--r--darwin-user/signal.c6
2 files changed, 1 insertions, 13 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c
index 70328ec8ee..f240f35a66 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -757,9 +757,6 @@ void usage(void)
"-s size set the stack size in bytes (default=%ld)\n"
"\n"
"debug options:\n"
-#ifdef USE_CODE_COPY
- "-no-code-copy disable code copy acceleration\n"
-#endif
"-d options activate log (logfile='%s')\n"
"-g wait for gdb on port 1234\n"
"-p pagesize set the host page size to 'pagesize'\n",
@@ -845,11 +842,6 @@ int main(int argc, char **argv)
if (!strcmp(r, "g")) {
use_gdbstub = 1;
} else
-#ifdef USE_CODE_COPY
- if (!strcmp(r, "no-code-copy")) {
- code_copy_enabled = 0;
- } else
-#endif
{
usage();
}
diff --git a/darwin-user/signal.c b/darwin-user/signal.c
index a0b9f89dcc..8dbfa931e1 100644
--- a/darwin-user/signal.c
+++ b/darwin-user/signal.c
@@ -198,11 +198,7 @@ static void host_signal_handler(int host_signum, siginfo_t *info,
/* the CPU emulator uses some host signals to detect exceptions,
we we forward to it some signals */
- if (host_signum == SIGSEGV || host_signum == SIGBUS
-#if defined(TARGET_I386) && defined(USE_CODE_COPY)
- || host_signum == SIGFPE
-#endif
- ) {
+ if (host_signum == SIGSEGV || host_signum == SIGBUS) {
if (cpu_signal_handler(host_signum, (void*)info, puc))
return;
}