diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2013-07-27 22:21:10 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2013-07-27 22:21:10 +0000 |
commit | facdc4226382377ddacec8ef337a4b0622b08b93 (patch) | |
tree | 451a6a6511469f86c16bb51993fc7ad4f38f9d71 /bfd/ChangeLog | |
parent | 56d8fba8b96439684b4c761789cb3c9894374678 (diff) | |
download | binutils-redhat-facdc4226382377ddacec8ef337a4b0622b08b93.tar.gz |
bfd/
* elf32-vax.c (elf_vax_check_relocs) <R_VAX_GOT32, R_VAX_PLT32>:
Don't check symbol visibility here. Remove a check already
asserted for.
(elf_vax_instantiate_got_entries): Use SYMBOL_REFERENCES_LOCAL
instead of individual checks.
(elf_vax_relocate_section) <R_VAX_GOT32, R_VAX_PLT32>: Only
check the offset to decide if produce a GOT or PLT entry.
Remove redundant assertions. Remove code to produce GOT entries
for local symbols. Remove a duplicate comment and add a comment
on GOT relocations.
(elf_vax_finish_dynamic_symbol): Remove code to produce RELATIVE
dynamic relocs.
ld/testsuite/
* ld-vax-elf/got-local-exe.xd: New test.
* ld-vax-elf/got-local-lib.xd: New test.
* ld-vax-elf/got-local-aux.s: New test source.
* ld-vax-elf/got-local-def.s: New test source.
* ld-vax-elf/got-local-ref.s: New test source.
* ld-vax-elf/vax-elf.exp: Run the new tests.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 62742afda5..9a541df3b5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,20 @@ 2013-07-27 Maciej W. Rozycki <macro@linux-mips.org> + * elf32-vax.c (elf_vax_check_relocs) <R_VAX_GOT32, R_VAX_PLT32>: + Don't check symbol visibility here. Remove a check already + asserted for. + (elf_vax_instantiate_got_entries): Use SYMBOL_REFERENCES_LOCAL + instead of individual checks. + (elf_vax_relocate_section) <R_VAX_GOT32, R_VAX_PLT32>: Only + check the offset to decide if produce a GOT or PLT entry. + Remove redundant assertions. Remove code to produce GOT entries + for local symbols. Remove a duplicate comment and add a comment + on GOT relocations. + (elf_vax_finish_dynamic_symbol): Remove code to produce RELATIVE + dynamic relocs. + +2013-07-27 Maciej W. Rozycki <macro@linux-mips.org> + * elf32-vax.c (elf_vax_always_size_sections): Correct a comment typo. |