aboutsummaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-09-17 14:38:51 +0000
committerNick Clifton <nickc@redhat.com>2006-09-17 14:38:51 +0000
commitfaa4097754e5c234eba1c3577544769243fcab80 (patch)
tree107e99172328a7bcc146c0985be729019e93a1e8 /bfd/cofflink.c
parentee1ee5b5aedd23f91b337527d62d9323867e240a (diff)
downloadgdb-faa4097754e5c234eba1c3577544769243fcab80.zip
gdb-faa4097754e5c234eba1c3577544769243fcab80.tar.gz
gdb-faa4097754e5c234eba1c3577544769243fcab80.tar.bz2
Fix typo in use of CONST_STRNEQ
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r--bfd/cofflink.c2
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]))))
{