Index: ppc-dis.c =================================================================== RCS file: /cvsroot/qemu/qemu/ppc-dis.c,v retrieving revision 1.3 diff -u -r1.3 ppc-dis.c --- ppc-dis.c 20 May 2004 21:50:40 -0000 1.3 +++ ppc-dis.c 25 Aug 2004 21:15:59 -0000 @@ -3078,7 +3078,12 @@ uint32_t opc; (*info->read_memory_func)(pc, (bfd_byte *)(&opc), 4, info); - return print_insn_powerpc (info->stream, tswap32(opc), pc, + + if (info->endian == BFD_ENDIAN_LITTLE) { + opc = tswap32(opc); + } + + return print_insn_powerpc (info->stream, opc, pc, PPC | B32 | M601); }