From ec6338bac30f982c16c23106edcf1ce4a04da575 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 8 Nov 2007 14:25:03 +0000 Subject: removed obsolete x86 code copy support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3551 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 8 -------- linux-user/signal.c | 6 +----- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'linux-user') diff --git a/linux-user/main.c b/linux-user/main.c index 716348cff8..b480a9ca28 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1855,9 +1855,6 @@ void usage(void) "-drop-ld-preload drop LD_PRELOAD for target process\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" "-p pagesize set the host page size to 'pagesize'\n", TARGET_ARCH, @@ -1956,11 +1953,6 @@ int main(int argc, char **argv) } else if (!strcmp(r, "drop-ld-preload")) { drop_ld_preload = 1; } else -#ifdef USE_CODE_COPY - if (!strcmp(r, "no-code-copy")) { - code_copy_enabled = 0; - } else -#endif { usage(); } diff --git a/linux-user/signal.c b/linux-user/signal.c index 0c5944abab..984c598f26 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -415,11 +415,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, info, puc)) return; } -- cgit v1.2.3