summaryrefslogtreecommitdiff
path: root/bfd/elf32-tic6x.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2011-04-11 12:04:21 +0000
committerBernd Schmidt <bernd.schmidt@analog.com>2011-04-11 12:04:21 +0000
commit5a89d4c0c9dd30d1e64d01020c8b44ca0d634999 (patch)
tree3616a50b94e35848c16cfb93f3903ca0add48879 /bfd/elf32-tic6x.c
parent70fa4ffe00fe364a1c1082592ec3e19a4f48590f (diff)
downloadbinutils-redhat-5a89d4c0c9dd30d1e64d01020c8b44ca0d634999.tar.gz
* 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 b0474a6240..b898aabf04 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;