From: Gavin Romig-Koch Date: Sat, 25 Oct 1997 20:53:46 +0000 (+0000) Subject: * sim/mips/gencode.c (build_instruction): Follow sim_write's lead in using X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=635ae9cb7cd6337401ab81144b31f6bc33e20b10;p=binutils-gdb.git * sim/mips/gencode.c (build_instruction): Follow sim_write's lead in using BigEndianMem instead of !ByteSwapMem. --- diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index b865a281bde..34834eadd88 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,9 @@ +Sat Oct 25 16:51:40 1997 Gavin Koch + + * gencode.c (build_instruction): Follow sim_write's lead in using + BigEndianMem instead of !ByteSwapMem. + + Fri Oct 24 17:41:49 1997 Andrew Cagney * configure.in (sim_gen): Dependent on target, select type of diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index 1ccaa6cabca..2b84cdf7cc2 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -2980,7 +2980,7 @@ build_instruction (doisa, features, mips16, insn) printf(" int byte;\n"); printf(" paddr = ((paddr & ~mask) | ((paddr & mask) ^ reverse));\n"); printf(" byte = ((vaddr & mask) ^ bigend);\n"); - printf(" if (%s!ByteSwapMem)\n",((insn->flags & LEFT) ? "!" : "")); + printf(" if (%sBigEndianMem)\n",((insn->flags & LEFT) ? "!" : "")); printf(" paddr &= ~mask;\n"); if (isload) {