OSDN Git Service

* elf32-vax.c (elf_vax_check_relocs): Remove unused
authorJason Thorpe <thorpej@netbsd.org>
Fri, 27 Sep 2002 22:28:17 +0000 (22:28 +0000)
committerJason Thorpe <thorpej@netbsd.org>
Fri, 27 Sep 2002 22:28:17 +0000 (22:28 +0000)
commitf22d7a0e5a8d68be35e332df37276ab77c9e886d
treedac02abc22dea1789c0adb2698663eea0a7cf246
parent32963c366a711b4364f6882cfd16c4dcea1c4865
* elf32-vax.c (elf_vax_check_relocs): Remove unused
local_got_refcounts usage.  Remove allocation of got slot.
(elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage.
Remove de-allocation of got slot.
(elf_vax_size_dynamic_section): Fix some indentation.  Add hash
traversal for elf_vax_instantiate_got_entries.  Allow empty .got
sections to be GC'ed.
(elf_vax_instantiate_got_entries): New function.
(elf_vax_relocate_section): Simplify R_VAX_GOT32 handling.  Remove
tests that are now handled by elf_vax_instantiate_got_entries.
Assert GOT entry falls within .got section size.  Remove redundant
comparisions.  Fix comments.
bfd/ChangeLog
bfd/elf32-vax.c