From 2123f9ad1580a90d71edd99fba6ccd32c46189ef Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 11 Apr 2011 12:04:22 +0000 Subject: [PATCH] * elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field. --- bfd/ChangeLog | 4 ++++ bfd/elf32-tic6x.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ae399e67ff..5a28cb4b7b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2011-04-11 Bernd Schmidt + + * elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field. + 2011-04-11 Mark Wielaard PR 10549 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;