diff options
author | Juergen Lock <nox@FreeBSD.org> | 2015-01-01 12:38:18 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2015-01-01 12:38:18 +0000 |
commit | ecdc643f06fdb2fcb029cb401a5cff024451efe3 (patch) | |
tree | accd7bb6279f34e87153fb4bee79becd2ab8353c /emulators | |
parent | Update to version 1.4 (diff) |
(Attempt to) fix build on 9.1/i386.
Submitted by: beefy1 via pkg-fallout
Notes
Notes:
svn path=/head/; revision=375917
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu-sbruno/files/patch-disas-libvixl-a64-disasm-a64.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu-sbruno/files/patch-disas-libvixl-a64-disasm-a64.cc b/emulators/qemu-sbruno/files/patch-disas-libvixl-a64-disasm-a64.cc new file mode 100644 index 000000000000..3cfe79312f65 --- /dev/null +++ b/emulators/qemu-sbruno/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); + } + + |