aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-08 14:25:03 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-08 14:25:03 +0000
commitec6338bac30f982c16c23106edcf1ce4a04da575 (patch)
treeeb42654dd53839e7d6b74d4d7c071be0ff533ae5 /linux-user
parent838104f60845adfa3ff5ad30e7f3a28c76f42bea (diff)
removed obsolete x86 code copy support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3551 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c8
-rw-r--r--linux-user/signal.c6
2 files changed, 1 insertions, 13 deletions
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;
}