aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-10-29 13:20:04 +0000
committerNick Clifton <nickc@redhat.com>2010-10-29 13:20:04 +0000
commitf432e63cf53571611d9fe776b13a1867429a7adf (patch)
tree08c52c91bd0ab29357dda126f3bbdd4402574610 /bfd/coffcode.h
parent4a114e3e0c1c3337981179b774f1d6d1b06d201f (diff)
downloadgdb-f432e63cf53571611d9fe776b13a1867429a7adf.zip
gdb-f432e63cf53571611d9fe776b13a1867429a7adf.tar.gz
gdb-f432e63cf53571611d9fe776b13a1867429a7adf.tar.bz2
PR bintils/6962
* coffcode.h (handle_COMDAT): Only check the base type when looking for a section symbol.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index ff69704..03ec376 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -956,7 +956,7 @@ handle_COMDAT (bfd * abfd,
if (! ((isym.n_sclass == C_STAT
|| isym.n_sclass == C_EXT)
- && isym.n_type == T_NULL
+ && BTYPE (isym.n_type) == T_NULL
&& isym.n_value == 0))
abort ();