diff options
| author | Juergen Lock <nox@FreeBSD.org> | 2013-10-03 13:10:13 +0000 |
|---|---|---|
| committer | Juergen Lock <nox@FreeBSD.org> | 2013-10-03 13:10:13 +0000 |
| commit | fcc2b18cb34049640e4c7da1e3629aa8b8aed7b4 (patch) | |
| tree | 813be81c370748ff5d0e72034089e2d743e2da2b /emulators/qemu-devel/files | |
| parent | . support staging; (diff) | |
- Add patch to fix mips-softmmu target crashes with clang. [1]
- Remove USE_GCC.
- Bump PORTREVISION.
Submitted by: dim [1]
Diffstat (limited to 'emulators/qemu-devel/files')
| -rw-r--r-- | emulators/qemu-devel/files/patch-cpu-exec.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-cpu-exec.c b/emulators/qemu-devel/files/patch-cpu-exec.c new file mode 100644 index 000000000000..57229ab351db --- /dev/null +++ b/emulators/qemu-devel/files/patch-cpu-exec.c @@ -0,0 +1,13 @@ +--- a/cpu-exec.c ++++ b/cpu-exec.c +@@ -681,6 +681,10 @@ int cpu_exec(CPUArchState *env) + * local variables as longjmp is marked 'noreturn'. */ + cpu = current_cpu; + env = cpu->env_ptr; ++#if !(defined(CONFIG_USER_ONLY) && \ ++ (defined(TARGET_M68K) || defined(TARGET_PPC) || defined(TARGET_S390X))) ++ cc = CPU_GET_CLASS(cpu); ++#endif + } + } /* for(;;) */ + |
