summaryrefslogtreecommitdiff
path: root/opcodes/epiphany-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/epiphany-dis.c')
-rw-r--r--opcodes/epiphany-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/epiphany-dis.c b/opcodes/epiphany-dis.c
index 966b39fe099..83f8d7969ee 100644
--- a/opcodes/epiphany-dis.c
+++ b/opcodes/epiphany-dis.c
@@ -451,7 +451,7 @@ print_insn (CGEN_CPU_DESC cd,
/* Extract base part of instruction, just in case CGEN_DIS_* uses it. */
basesize = cd->base_insn_bitsize < buflen * 8 ?
cd->base_insn_bitsize : buflen * 8;
- insn_value = cgen_get_insn_value (cd, buf, basesize);
+ insn_value = cgen_get_insn_value (cd, buf, basesize, cd->insn_endian);
/* Fill in ex_info fields like read_insn would. Don't actually call