projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7899862
)
For NEC 4300 project, fix last remaining host/target endianness problem
author
Jim Wilson
<wilson@tuliptree.org>
Wed, 8 Jan 1997 20:40:40 +0000
(20:40 +0000)
committer
Jim Wilson
<wilson@tuliptree.org>
Wed, 8 Jan 1997 20:40:40 +0000
(20:40 +0000)
* gencode.c (build_instruction): Use BigEndianCPU instead of
ByteSwapMem.
sim/mips/gencode.c
patch
|
blob
|
history
diff --git
a/sim/mips/gencode.c
b/sim/mips/gencode.c
index 4f7a32703a7c50ea22bb2c6962d43a8549987ad6..23a52404359404cb16c5158fd4268078236160d5 100644
(file)
--- a/
sim/mips/gencode.c
+++ b/
sim/mips/gencode.c
@@
-2022,7
+2022,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 (%s
BigEndianCPU
)\n",((insn->flags & LEFT) ? "!" : ""));
printf(" paddr &= ~mask;\n");
if (isload) {