From: hp Date: Tue, 7 Sep 2004 22:37:52 +0000 (+0000) Subject: * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4f06d7790c96619e9f84b6f27e3769e178fddf80;p=pf3gnuchains%2Fpf3gnuchains3x.git * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset h->gotplt_refcount to 0, not -1. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d74e8fe165..ec7f060e02 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-09-08 Hans-Peter Nilsson + + * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset + h->gotplt_refcount to 0, not -1. + 2004-09-07 Hans-Peter Nilsson * elf32-cris.c (cris_elf_relocate_section) root.got.refcount += h->gotplt_refcount; - h->gotplt_refcount = -1; + h->gotplt_refcount = 0; } else { @@ -1928,7 +1928,7 @@ elf_cris_adjust_gotplt_to_got (h, p) /* Put an accurate refcount there. */ h->root.got.refcount = h->gotplt_refcount; - h->gotplt_refcount = -1; + h->gotplt_refcount = 0; /* We always have a .got and a .rela.got section if there were GOTPLT relocs in input. */