Commit a8fcf883d9a15c88938d6bddbbb262091d79435f
1 parent
50a518e3
One day we might support MIPS16...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2939 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
disas.c
| @@ -308,8 +308,8 @@ const char *lookup_symbol(target_ulong orig_addr) | @@ -308,8 +308,8 @@ const char *lookup_symbol(target_ulong orig_addr) | ||
| 308 | continue; | 308 | continue; |
| 309 | 309 | ||
| 310 | addr = sym[i].st_value; | 310 | addr = sym[i].st_value; |
| 311 | -#ifdef TARGET_ARM | ||
| 312 | - /* The bottom address bit marks a Thumb symbol. */ | 311 | +#if defined(TARGET_ARM) || defined (TARGET_MIPS) |
| 312 | + /* The bottom address bit marks a Thumb or MIPS16 symbol. */ | ||
| 313 | addr &= ~(target_ulong)1; | 313 | addr &= ~(target_ulong)1; |
| 314 | #endif | 314 | #endif |
| 315 | if (orig_addr >= addr | 315 | if (orig_addr >= addr |