* elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
authorBernd Schmidt <bernds@codesourcery.com>
Mon, 11 Apr 2011 12:04:22 +0000 (12:04 +0000)
committerBernd Schmidt <bernds@codesourcery.com>
Mon, 11 Apr 2011 12:04:22 +0000 (12:04 +0000)
bfd/ChangeLog
bfd/elf32-tic6x.c

index ae399e6..5a28cb4 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-11  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
+
 2011-04-11  Mark Wielaard  <mjw@redhat.com>
 
        PR 10549
index b0474a6..b898aab 100644 (file)
@@ -2772,6 +2772,7 @@ elf32_tic6x_check_relocs (bfd *abfd, struct bfd_link_info *info,
                  *head = p;
                  p->sec = sec;
                  p->count = 0;
+                 p->pc_count = 0;
                }
 
              p->count += 1;