From: Nick Clifton Date: Fri, 29 Oct 2010 13:20:04 +0000 (+0000) Subject: PR bintils/6962 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f432e63cf53571611d9fe776b13a1867429a7adf;p=binutils-gdb.git PR bintils/6962 * coffcode.h (handle_COMDAT): Only check the base type when looking for a section symbol. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index baec58b485a..faccc5ff6fb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2010-10-29 Nick Clifton + + PR bintils/6962 + * coffcode.h (handle_COMDAT): Only check the base type when + looking for a section symbol. + 2010-10-29 H.J. Lu Cary Coutant diff --git a/bfd/coffcode.h b/bfd/coffcode.h index ff69704558f..03ec376bca2 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 ();