summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2015-01-06 19:47:28 +0000
committerJuergen Lock <nox@FreeBSD.org>2015-01-06 19:47:28 +0000
commitdbc8d4a8be751066be977999cb8e6bd9d56cd6e6 (patch)
tree98ea2e3e5e43b906f6267887acd9ac55a87c2af4 /emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc
parentUpdate to GNU Chess 6.2.1 (diff)
- Update emulators/qemu-sbruno to latest github snapshot, fixing
the bsd-user targets on 8 and 9. - Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno. - Update emulators/qemu-devel to latest upstream release 2.2.0, now w/o bsd-user patches and knob again. (Or at least until the patches are merged upstream...) [1] - Add appropriate CONFLICTS to emulators/qemu too and bump its PORTREVISION. Suggested by: andrew [1] (for the benefit of testing aarch64 guests)
Diffstat (limited to 'emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc')
-rw-r--r--emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc b/emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc
new file mode 100644
index 000000000000..3cfe79312f65
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-disas-libvixl-a64-disasm-a64.cc
@@ -0,0 +1,12 @@
+--- a/disas/libvixl/a64/disasm-a64.cc
++++ b/disas/libvixl/a64/disasm-a64.cc
+@@ -1337,7 +1337,8 @@ void Disassembler::AppendPCRelativeOffse
+ int64_t offset) {
+ USE(instr);
+ char sign = (offset < 0) ? '-' : '+';
+- AppendToOutput("#%c0x%" PRIx64, sign, std::abs(offset));
++ // AppendToOutput("#%c0x%" PRIx64, sign, std::abs(offset));
++ AppendToOutput("#%c0x%" PRIx64, sign, offset < 0 ? -offset : offset);
+ }
+
+