This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd elfxx-mips.c ChangeLog
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 19 Sep 2010 10:52:17 -0000
- Subject: src/bfd elfxx-mips.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2010-09-19 10:52:17
Modified files:
bfd : elfxx-mips.c ChangeLog
Log message:
bfd/
* elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls.
(mips_elf_link_hash_newfunc): Initialize it.
(mips_elf_record_global_got_symbol): Add a for_call parameter.
(mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather
than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls.
Try to remove .got entries in favour of .got.plt entries on VxWorks.
(_bfd_mips_elf_check_relocs): Do not try to avoid allocating
a global GOT entry for VxWorks calls. Update uses of
mips_elf_record_global_got_symbol.
(allocate_dynrelocs): Set got_only_for_calls to false if the GOT
entry is used for dynamic relocations.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elfxx-mips.c.diff?cvsroot=src&r1=1.273&r2=1.274
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5137&r2=1.5138