This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src bfd/ChangeLog bfd/elf32-vax.c ld/testsuite ...
- From: macro at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: Sat, 27 Jul 2013 22:21:11 +0000
- Subject: src bfd/ChangeLog bfd/elf32-vax.c ld/testsuite ...
CVSROOT: /cvs/src
Module name: src
Changes by: macro@sourceware.org 2013-07-27 22:21:11
Modified files:
bfd : ChangeLog elf32-vax.c
ld/testsuite : ChangeLog
ld/testsuite/ld-vax-elf: vax-elf.exp
Added files:
ld/testsuite/ld-vax-elf: got-local-aux.s got-local-def.s
got-local-exe.xd got-local-lib.xd
got-local-ref.s
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.6120&r2=1.6121
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-vax.c.diff?cvsroot=src&r1=1.80&r2=1.81
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1742&r2=1.1743
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-vax-elf/got-local-aux.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-vax-elf/got-local-def.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-vax-elf/got-local-exe.xd.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-vax-elf/got-local-lib.xd.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-vax-elf/got-local-ref.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-vax-elf/vax-elf.exp.diff?cvsroot=src&r1=1.2&r2=1.3