From: Nick Clifton Date: Sun, 17 Sep 2006 14:38:51 +0000 (+0000) Subject: Fix typo in use of CONST_STRNEQ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faa4097754e5c234eba1c3577544769243fcab80;p=binutils-gdb.git Fix typo in use of CONST_STRNEQ --- diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 6e15a025931..fd4b3fed15a 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -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])))) {