summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-10-29 13:20:03 +0000
committerNick Clifton <nickc@redhat.com>2010-10-29 13:20:03 +0000
commitea490c30f909d0700f3d369cc110f119938ab7e0 (patch)
treea462fd85bf3a16f5deb169385b2f7b2d7760fe01 /bfd/coffcode.h
parent674157ee517e31d9b605da93a8e53ddccaffb3cf (diff)
downloadbinutils-redhat-ea490c30f909d0700f3d369cc110f119938ab7e0.tar.gz
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 ff69704558..03ec376bca 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 ();