From: ths Date: Sun, 3 Jun 2007 19:16:42 +0000 (+0000) Subject: One day we might support MIPS16... X-Git-Tag: release_0_9_1~958 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8fcf883d9a15c88938d6bddbbb262091d79435f;p=thirdparty%2Fqemu.git One day we might support MIPS16... git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2939 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/disas.c b/disas.c index 2642c778dd0..07164263940 100644 --- a/disas.c +++ b/disas.c @@ -308,8 +308,8 @@ const char *lookup_symbol(target_ulong orig_addr) continue; addr = sym[i].st_value; -#ifdef TARGET_ARM - /* The bottom address bit marks a Thumb symbol. */ +#if defined(TARGET_ARM) || defined (TARGET_MIPS) + /* The bottom address bit marks a Thumb or MIPS16 symbol. */ addr &= ~(target_ulong)1; #endif if (orig_addr >= addr