diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-06-26 17:09:07 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-06-26 17:09:07 +0000 |
commit | a6f816d697f7d47611980d9bbf74f003698eff77 (patch) | |
tree | 496bf01b4fb04e5b6ed43b39bc6b0ff20f7eddde /ppc-dis.c | |
parent | 0ad041d47692326f4c7f472d396ebdbfe92e1664 (diff) |
fixed endianness (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@285 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'ppc-dis.c')
-rw-r--r-- | ppc-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3074,7 +3074,8 @@ static int print_insn_powerpc(FILE *, unsigned long insn, unsigned memaddr, int int print_insn_ppc (bfd_vma pc, disassemble_info *info) { - return print_insn_powerpc (info->stream, *(unsigned *)(long)pc, pc, + return print_insn_powerpc (info->stream, + (unsigned int)bfd_getb32((bfd_byte *)pc), pc, PPC_OPCODE_PPC | PPC_OPCODE_601); } |