mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* 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
|
||||
&& SYMBOL_NAMESPACE (sym) == namespace
|
||||
&& SYMBOL_CLASS (sym) == class
|
||||
&& STREQ (SYMBOL_NAME (sym), name))
|
||||
&& strcmp (SYMBOL_NAME (sym), name) == 0)
|
||||
return sym;
|
||||
bot++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user