[PATCH] bfd elf32-vax.c fixes
Matt Thomas
matt@3am-software.com
Fri Sep 27 00:25:00 GMT 2002
The following attached patch fixes a bug which caused R_VAX_GLOB_DAT
entries to be emitted when an share library is linked -Bsymbolic when
in fact no extra GOT slots were allocated.
20020927 Matt Thomas <matt@3am-software.com>
* 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): Add.
(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.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd-diff.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20020927/ab8f1fac/attachment.txt>
More information about the Binutils
mailing list