diff options
| author | Juergen Lock <nox@FreeBSD.org> | 2014-04-04 23:16:43 +0000 |
|---|---|---|
| committer | Juergen Lock <nox@FreeBSD.org> | 2014-04-04 23:16:43 +0000 |
| commit | fed51a4bc949b8025af0129f9c170aaa7c69eb92 (patch) | |
| tree | 0c8f9a2ca0fa26b836921a33651f598455ed2f26 /emulators/qemu-devel/files | |
| parent | Support stage (diff) | |
- Add patch to fix 32bit mips sigreturn that caused mips bsd-user
to die with (target) SIGILL sometimes.
- Bump PORTREVISION.
Submitted by: peter
Obtained from: https://github.com/seanbruno/qemu/commit/d62553b108aa27c0c020dbb771d29f8673807a3b
Diffstat (limited to 'emulators/qemu-devel/files')
| -rw-r--r-- | emulators/qemu-devel/files/extra-patch-d62553b108aa27c0c020dbb771d29f8673807a3b | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-d62553b108aa27c0c020dbb771d29f8673807a3b b/emulators/qemu-devel/files/extra-patch-d62553b108aa27c0c020dbb771d29f8673807a3b new file mode 100644 index 000000000000..11da6554b90c --- /dev/null +++ b/emulators/qemu-devel/files/extra-patch-d62553b108aa27c0c020dbb771d29f8673807a3b @@ -0,0 +1,13 @@ +diff --git a/bsd-user/mips/target_arch_sigtramp.h b/bsd-user/mips/target_arch_sigtramp.h +index 5e3c69a..2ec591f 100644 +--- a/bsd-user/mips/target_arch_sigtramp.h ++++ b/bsd-user/mips/target_arch_sigtramp.h +@@ -8,7 +8,7 @@ static inline abi_long setup_sigtramp(abi_ulong offset, unsigned sigf_uc, + { + int i; + uint32_t sigtramp_code[TARGET_SZSIGCODE/TARGET_INSN_SIZE] = { +- /* 1 */ 0x67A40000 + sigf_uc, /* daddu $a0, $sp, (sigf_uc) */ ++ /* 1 */ 0x27A40000 + sigf_uc, /* daddu $a0, $sp, (sigf_uc) */ + /* 2 */ 0x24020000 + sys_sigreturn, /* li $v0, (sys_sigreturn) */ + /* 3 */ 0x0000000C, /* syscall */ + /* 4 */ 0x0000000D /* break */ |
