diff options
-rw-r--r-- | bfd/cofflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 6e15a02593..fd4b3fed15 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])))) { |