aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-tic6x.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-04-11 12:04:22 +0000
committerBernd Schmidt <bernds@codesourcery.com>2011-04-11 12:04:22 +0000
commit2123f9ad1580a90d71edd99fba6ccd32c46189ef (patch)
treed67bbf8f16c02047659f953fec7e474f1790996e /bfd/elf32-tic6x.c
parent4e4f7c872bc46d8b26ebe03a61536620de7bcdea (diff)
downloadgdb-2123f9ad1580a90d71edd99fba6ccd32c46189ef.zip
gdb-2123f9ad1580a90d71edd99fba6ccd32c46189ef.tar.gz
gdb-2123f9ad1580a90d71edd99fba6ccd32c46189ef.tar.bz2
* elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
Diffstat (limited to 'bfd/elf32-tic6x.c')
-rw-r--r--bfd/elf32-tic6x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index b0474a6..b898aab 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -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;