PR bintils/6962
authorNick Clifton <nickc@redhat.com>
Fri, 29 Oct 2010 13:20:04 +0000 (13:20 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 29 Oct 2010 13:20:04 +0000 (13:20 +0000)
        * coffcode.h (handle_COMDAT): Only check the base type when
        looking for a section symbol.

bfd/ChangeLog
bfd/coffcode.h

index baec58b485aa3d42e9c45792b482e4d9381b0d86..faccc5ff6fb8edd9c3dd5bb334d0c236bf005ea4 100644 (file)
@@ -1,3 +1,9 @@
+2010-10-29  Nick Clifton  <nickc@redhat.com>
+
+       PR bintils/6962
+       * coffcode.h (handle_COMDAT): Only check the base type when
+       looking for a section symbol.
+
 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
            Cary Coutant  <ccoutant@google.com>
 
index ff69704558fe2749376477f3fcd440b1ee9ec759..03ec376bca2d73006cab50083a7695dd2c835017 100644 (file)
@@ -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 ();
 
This page took 0.030269 seconds and 4 git commands to generate.