projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RISC-V: Don't assume the priv attributes are in order when handling them.
[deliverable/binutils-gdb.git]
/
opcodes
/
disassemble.c
diff --git
a/opcodes/disassemble.c
b/opcodes/disassemble.c
index d49a2b857df063b1100f1989ae85ebc57b994afa..299c23db137e1c73cbf09ad456dcac4f21c29fd7 100644
(file)
--- a/
opcodes/disassemble.c
+++ b/
opcodes/disassemble.c
@@
-21,7
+21,7
@@
#include "sysdep.h"
#include "disassemble.h"
#include "safe-ctype.h"
#include "sysdep.h"
#include "disassemble.h"
#include "safe-ctype.h"
-#include
<assert.h>
+#include
"opintl.h"
#ifdef ARCH_all
#define ARCH_aarch64
#ifdef ARCH_all
#define ARCH_aarch64
@@
-660,6
+660,7
@@
disassemble_init_for_target (struct disassemble_info * info)
#endif
#ifdef ARCH_bpf
case bfd_arch_bpf:
#endif
#ifdef ARCH_bpf
case bfd_arch_bpf:
+ info->endian_code = BFD_ENDIAN_LITTLE;
if (!info->private_data)
{
info->private_data = cgen_bitset_create (ISA_EBPFMAX);
if (!info->private_data)
{
info->private_data = cgen_bitset_create (ISA_EBPFMAX);
@@
-832,3
+833,11
@@
disassembler_options_cmp (const char *s1, const char *s2)
return c1 - c2;
}
return c1 - c2;
}
+
+void
+opcodes_assert (const char *file, int line)
+{
+ opcodes_error_handler (_("assertion fail %s:%d"), file, line);
+ opcodes_error_handler (_("Please report this bug"));
+ abort ();
+}
This page took
0.02525 seconds
and
4
git commands to generate.