diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-08 11:22:29 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-08 11:22:29 +0000 |
commit | 6ecd45348408054bd7afa43a95ed5d47ba3c2809 (patch) | |
tree | e64698ff6b0dbfa9aeaa8dab30c723917b37ce06 | |
parent | 925fb139be707fe637bdadb25138c72efcf333b5 (diff) |
Fix generated code disasm output on Sparc64 host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2638 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | disas.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -258,6 +258,9 @@ void disas(FILE *out, void *code, unsigned long size) print_insn = print_insn_alpha; #elif defined(__sparc__) print_insn = print_insn_sparc; +#if defined(__sparc_v8plus__) || defined(__sparc_v8plusa__) || defined(__sparc_v9__) + disasm_info.mach = bfd_mach_sparc_v9b; +#endif #elif defined(__arm__) print_insn = print_insn_arm; #elif defined(__MIPSEB__) |