blob: 546595845c62ae8eeb80dae21182e3300ff98e46 (
plain) (
tree)
|
|
--- disas/libvixl/vixl/a64/disasm-a64.cc.orig 2019-04-23 18:14:45 UTC
+++ disas/libvixl/vixl/a64/disasm-a64.cc
@@ -2693,7 +2693,7 @@ void Disassembler::AppendPCRelativeOffsetToOutput(cons
if (offset < 0) {
abs_offset = -abs_offset;
}
- AppendToOutput("#%c0x%" PRIx64, sign, abs_offset);
+ AppendToOutput("#%c0x%" PRIx64, sign, offset < 0 ? -offset : offset);
}
|