binutils-gdb/ld/testsuite
Richard Sandiford 8275b357ad bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
	(mips_elf_record_global_got_symbol): Increment local_gotno for
	each forced-local symbol.
	(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
	mips_elf_record_global_got_symbol for VxWorks too.
	(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
	to true after computing the GOT size.
	(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
	got.offset == 1.  Only adjust global_gotno if computed_got_sizes.
	For VxWorks, add a local entry when hiding a symbol that needs a
	plt but has not been marked as needing a global got entry.
	(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
	false.

ld/testsuite/
	* ld-mips-elf/vxworks-forced-local-1.d,
	* ld-mips-elf/vxworks-forced-local-1.s,
	* ld-mips-elf/vxworks-forced-local-1.ver: New test.
	* ld-mips-elf/mips-elf.exp: Run it.
	* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
	local GOT entry.
	* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
	* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
	* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
	* ld-mips-elf/vxworks1-lib.dd: Likewise.
	* ld-mips-elf/vxworks1-lib.rd: Likewise.
2007-08-13 21:16:39 +00:00
..
config Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-alpha Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-arm 2007-06-29 Paul Brook <paul@codesourcery.com> 2007-07-25 14:39:48 +00:00
ld-auto-import Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-bootstrap Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cdtest * ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name. 2007-07-25 21:30:59 +00:00
ld-checks Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cris Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-crx Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cygwin Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-d10v Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-discard Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elf ld/ 2007-07-29 12:33:38 +00:00
ld-elfcomm Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elfvers 2007-07-10 H.J. Lu <hongjiu.lu@intel.com> 2007-07-10 14:51:55 +00:00
ld-elfvsb Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elfweak Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-fastcall Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-h8300 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-i386 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-ia64 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-libs Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-linkonce Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-m68hc11 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-m68k Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-maxq Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf bfd/ 2007-08-13 21:16:39 +00:00
ld-mmix Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-pe * ld-pe/pe.exp: Special diff file for x86_64-mingw target. 2007-08-06 14:41:51 +00:00
ld-pie Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-powerpc bfd/ 2007-08-13 00:20:59 +00:00
ld-s390 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-scripts * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being 2007-07-13 09:09:25 +00:00
ld-selective Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-sh Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-shared Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-sparc Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-spu Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-srec * ld-srec/srec.exp: XFAIL for powerpc*-*-*. 2007-08-03 12:53:47 +00:00
ld-undefined Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-v850 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-versados Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-vxworks Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-x86-64 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xc16x Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xstormy16 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xtensa Update sources to GPLv3 2007-07-06 14:09:45 +00:00
lib Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ChangeLog bfd/ 2007-08-13 21:16:39 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-9303