* 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 ae399e67ff743e861482bcdc165e3ccd80c5504b..5a28cb4b7bb082bd34cb521effcebf10b7665f8c 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 b0474a6240f7b6bda26d8b8e01dc4da858cc76b8..b898aabf049945c92d4e4be814b7d9924f391079 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;