* 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)
commitb29635ba03a6c716485d4e3ef2b94436e965979e
tree3d18c43b60b651e51e6d9ce4326f9175fe79fe6c
parent167baebf187f06d1a4a448fa0d02fafb848ccb4d
* 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