diff options
author | Nick Clifton <nickc@redhat.com> | 2006-09-17 14:38:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-09-17 14:38:51 +0000 |
commit | faa4097754e5c234eba1c3577544769243fcab80 (patch) | |
tree | 107e99172328a7bcc146c0985be729019e93a1e8 /bfd | |
parent | ee1ee5b5aedd23f91b337527d62d9323867e240a (diff) | |
download | gdb-faa4097754e5c234eba1c3577544769243fcab80.zip gdb-faa4097754e5c234eba1c3577544769243fcab80.tar.gz gdb-faa4097754e5c234eba1c3577544769243fcab80.tar.bz2 |
Fix typo in use of CONST_STRNEQ
Diffstat (limited to 'bfd')
-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 6e15a02..fd4b3fe 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])))) { |