freebsd-ports/emulators/qemu/files/patch-disas_libvixl_a64_disasm-a64.cc
Muhammad Moinur Rahman cb11558b75 emulators/qemu: Update version 0.11.1=>2.4.1
- MASTER_SITES has been changed from SAVANNAH and local repo of nox@
  to new wiki.qemu.org
- Take MAINTAINERSHIP
- Updated to maintain version release with UPSTREAM. qemu-devel will be
updated to maintain with SNAPSHOTS
- Some of the patches has been converted to OPTIONSNG with post-patch
- Most of the patches are now makepatch compatible
- Converted most of the LEGACY OPTIONS to OPTIONSNG
2015-12-16 14:15:19 +00:00

11 lines
429 B
C++

--- disas/libvixl/a64/disasm-a64.cc.orig 2015-11-03 20:01:31 UTC
+++ disas/libvixl/a64/disasm-a64.cc
@@ -1362,7 +1362,7 @@ void Disassembler::AppendPCRelativeOffse
int64_t offset) {
USE(instr);
char sign = (offset < 0) ? '-' : '+';
- AppendToOutput("#%c0x%" PRIx64, sign, std::abs(offset));
+ AppendToOutput("#%c0x%" PRIx64, sign, offset < 0 ? -offset : offset);
}