notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a thp-based huge page alloc fallback
[pcsx_rearmed.git]
/
deps
/
lightning
/
lib
/
jit_disasm.c
diff --git
a/deps/lightning/lib/jit_disasm.c
b/deps/lightning/lib/jit_disasm.c
index
9ad84f1
..
a6981fa
100644
(file)
--- a/
deps/lightning/lib/jit_disasm.c
+++ b/
deps/lightning/lib/jit_disasm.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2012-202
2
Free Software Foundation, Inc.
+ * Copyright (C) 2012-202
3
Free Software Foundation, Inc.
*
* This file is part of GNU lightning.
*
*
* This file is part of GNU lightning.
*
@@
-54,7
+54,7
@@
static FILE *disasm_stream;
#endif
#if BINUTILS_2_38
#endif
#if BINUTILS_2_38
-static int fprintf_styled(void *
, enum disassembler_
style, const char* fmt, ...)
+static int fprintf_styled(void *
stream, enum disassembler_style
style, const char* fmt, ...)
{
va_list args;
int r;
{
va_list args;
int r;
@@
-256,7
+256,7
@@
disasm_print_address(bfd_vma addr, struct disassemble_info *info)
int line;
char buffer[address_buffer_length];
int line;
char buffer[address_buffer_length];
- sprintf(buffer, address_buffer_format,
(long long)
addr);
+ sprintf(buffer, address_buffer_format, addr);
(*info->fprintf_func)(info->stream, "0x%s", buffer);
# define _jit disasm_jit
(*info->fprintf_func)(info->stream, "0x%s", buffer);
# define _jit disasm_jit
@@
-406,7
+406,7
@@
_disassemble(jit_state_t *_jit, jit_pointer_t code, jit_int32_t length)
old_line = line;
}
old_line = line;
}
- bytes = sprintf(buffer, address_buffer_format,
(long long)
pc);
+ bytes = sprintf(buffer, address_buffer_format, pc);
(*disasm_info.fprintf_func)(disasm_stream, "%*c0x%s\t",
16 - bytes, ' ', buffer);
pc += (*disasm_print)(pc, &disasm_info);
(*disasm_info.fprintf_func)(disasm_stream, "%*c0x%s\t",
16 - bytes, ' ', buffer);
pc += (*disasm_print)(pc, &disasm_info);