* elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT>
authorHans-Peter Nilsson <hp@axis.com>
Fri, 14 Oct 2011 06:52:46 +0000 (06:52 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 14 Oct 2011 06:52:46 +0000 (06:52 +0000)
commit970d488d05590ebfea5804e5a58e5fa7c85ac0b4
treef8bed377b8359844c9917d97dae13e22b0d274f5
parent357f012bf45351de32e15e29f1b4ee6deae74754
* elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT>
<R_CRIS_32_GOTPLT>: Fix missing update of gotplt refcount for
global symbols.
<R_CRIS_8, R_CRIS_16, R_CRIS_32>: New cases for similar missing
updates of the plt refcount.
(elf_cris_adjust_gotplt_to_got): Assert integrity of the gotplt
refcount in relation to the plt refcount.
bfd/ChangeLog
bfd/elf32-cris.c