Fix typo in use of CONST_STRNEQ
authorNick Clifton <nickc@redhat.com>
Sun, 17 Sep 2006 14:38:51 +0000 (14:38 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 17 Sep 2006 14:38:51 +0000 (14:38 +0000)
bfd/cofflink.c

index 6e15a025931cc2eca92d613561cde961ecb33135..fd4b3fed15a44204c1f40a033b55bb383ce9f9d8 100644 (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]))))
            {