(Attempt to) fix build on 9.1/i386.
Submitted by: beefy1 via pkg-fallout
This commit is contained in:
parent
152df2bd5a
commit
ecdc643f06
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375917
1 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue