This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] bfd elf32-vax.c fixes
- From: Matt Thomas <matt at 3am-software dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 26 Sep 2002 23:43:45 -0700
- Subject: [PATCH] bfd elf32-vax.c fixes
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
Attachment:
bfd-diff.txt
Description: Text document