bfd/
authorMaciej W. Rozycki <macro@linux-mips.org>
Sat, 27 Jul 2013 22:21:11 +0000 (22:21 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sat, 27 Jul 2013 22:21:11 +0000 (22:21 +0000)
commit125b5bac9860b55e2065cebf8f36dada6da0c8a5
tree731844aa19474a1e0859d8cf374d6cdf320cb49c
parent49d01bf63d118280b27551e9ee1c58040dd65f0c
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.
bfd/ChangeLog
bfd/elf32-vax.c
ld/testsuite/ChangeLog
ld/testsuite/ld-vax-elf/got-local-aux.s [new file with mode: 0644]
ld/testsuite/ld-vax-elf/got-local-def.s [new file with mode: 0644]
ld/testsuite/ld-vax-elf/got-local-exe.xd [new file with mode: 0644]
ld/testsuite/ld-vax-elf/got-local-lib.xd [new file with mode: 0644]
ld/testsuite/ld-vax-elf/got-local-ref.s [new file with mode: 0644]
ld/testsuite/ld-vax-elf/vax-elf.exp
This page took 0.025444 seconds and 4 git commands to generate.