+2012-04-20 Shun-Yen Lu <dark.asparagus@gmail.com>
+
+ * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification
+ of mips16 symbols.
+
2012-04-20 Andrew Pinski <apinski@cavium.com>
* MAINTAINERS (Write After Approval): Add myself to the list.
static void
mips_elf_make_msymbol_special (asymbol * sym, struct minimal_symbol *msym)
{
- if (((elf_symbol_type *) (sym))->internal_elf_sym.st_other == STO_MIPS16)
+ if (ELF_ST_IS_MIPS16 (((elf_symbol_type *)
+ (sym))->internal_elf_sym.st_other))
{
MSYMBOL_TARGET_FLAG_1 (msym) = 1;
}