diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-09-07 22:37:52 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-09-07 22:37:52 +0000 |
commit | 7de38c1e60f7fb59d561ed19524b7940d285a90d (patch) | |
tree | 2e38d8ca691292f6dd470799568ebd66e4ee176a /bfd/elf32-cris.c | |
parent | 7411f666e010b488f210429cf38bdfa24531daf2 (diff) | |
download | binutils-redhat-7de38c1e60f7fb59d561ed19524b7940d285a90d.tar.gz |
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset
h->gotplt_refcount to 0, not -1.
Diffstat (limited to 'bfd/elf32-cris.c')
-rw-r--r-- | bfd/elf32-cris.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index aedf7749dc..ae8b3d204e 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -1916,7 +1916,7 @@ elf_cris_adjust_gotplt_to_got (h, p) Probably not necessary at this stage, but keeping it accurate helps avoiding surprises later. */ h->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. */ |