summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc')
-rw-r--r--emulators/qemu-devel/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc b/emulators/qemu-devel/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc
new file mode 100644
index 000000000000..4e88b6b4a362
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc
@@ -0,0 +1,11 @@
+--- disas/libvixl/vixl/a64/disasm-a64.cc.orig 2016-04-14 20:19:53 UTC
++++ disas/libvixl/vixl/a64/disasm-a64.cc
+@@ -2693,7 +2693,7 @@ void Disassembler::AppendPCRelativeOffse
+ if (offset < 0) {
+ abs_offset = -abs_offset;
+ }
+- AppendToOutput("#%c0x%" PRIx64, sign, abs_offset);
++ AppendToOutput("#%c0x%" PRIx64, sign, offset < 0 ? -offset : offset);
+ }
+
+