* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
already checked the first characters.
This commit is contained in:
parent
b5d4d6d7f8
commit
4fb0ff3b3d
|
@ -2826,7 +2826,7 @@ mylookup_symbol (name, block, namespace, class)
|
||||||
if (SYMBOL_NAME (sym)[0] == inc
|
if (SYMBOL_NAME (sym)[0] == inc
|
||||||
&& SYMBOL_NAMESPACE (sym) == namespace
|
&& SYMBOL_NAMESPACE (sym) == namespace
|
||||||
&& SYMBOL_CLASS (sym) == class
|
&& SYMBOL_CLASS (sym) == class
|
||||||
&& STREQ (SYMBOL_NAME (sym), name))
|
&& strcmp (SYMBOL_NAME (sym), name) == 0)
|
||||||
return sym;
|
return sym;
|
||||||
bot++;
|
bot++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue