Fix typo in use of CONST_STRNEQ

This commit is contained in:
Nick Clifton 2006-09-17 14:38:51 +00:00
parent ee1ee5b5ae
commit faa4097754

View file

@ -583,7 +583,7 @@ coff_link_add_symbols (bfd *abfd,
asection *stab;
for (stab = abfd->sections; stab; stab = stab->next)
if (CONST_STRNEQ (".stab", stab->name)
if (CONST_STRNEQ (stab->name, ".stab")
&& (!stab->name[5]
|| (stab->name[5] == '.' && ISDIGIT (stab->name[6]))))
{