old-cross-binutils/ld/testsuite
Richard Sandiford 23cc69b663 bfd/
* elfxx-mips.c (mips_got_info): Add a "reloc_only_gotno" field.
	(mips_elf_got_section): Delete.
	(mips_elf_sort_hash_table): Use g->reloc_only_gotno to decide
	how many reloc-only entries there are.
	(mips_elf_count_got_symbols): Adjust g->reloc_only_gotno as
	well as g->global_gotno.
	(mips_elf_make_got_per_bfd): Initialize reloc_only_gotno.
	(mips_elf_multi_got): Likewise.  Use gg->reloc_only_gotno
	rather than gg->assigned_gotno to store the number of
	reloc-only GOT entries.
	(mips_elf_create_got_section): Remove the MAYBE_EXCLUDE parameter.
	Initialize reloc_only_gotno.
	(mips_elf_calculate_relocation): Check htab->got_info instead of
	dynobj when deciding whether to call mips_elf_adjust_gp,
	(_bfd_mips_elf_create_dynamic_sections): Adjust the call
	to mips_elf_create_got_section.
	(mips_elf_record_relocs): Likewise.  Remove redundant
	"dynobj == NULL" code.  Do not use mips_elf_create_got_section
	or mips_elf_record_global_got_symbol for R_MIPS_32, R_MIPS_REL32
	and R_MIPS_64; limit global_got_area to GGA_RELOC_ONLY instead.
	(_bfd_mips_elf_finish_dynamic_symbol): Use htab->sgot instead
	of mips_elf_got_section.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	(_bfd_mips_elf_finish_dynamic_sections): Likewise.
	Move the initial assignment of G to the block that uses it;
	it is used for an unrelated purpose later.

ld/testsuite/
	* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: We have
	removed an unused GOT entry that was allocated for the R_MIPS_32
	relocation against "undef", so adjust addresses down by 4 bytes.
	* ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-2.d: We have
	changed the order of the GOT entries so that reloc-only ones
	come last.  "undef" is only referred to by dynamic relocations,
	so it now comes after "glob".
	* ld-mips-elf/mips16-pic-2.dd, ld-mips-elf/mips16-pic-2.gd,
	ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/mips16-pic-2.rd: We have
	removed two unused local GOT entries that were originally created
	as global entries for the hidden symbols "used2" and "used3".
	"used4" and "used5" are only referred to by relocations, so they
	now come after "used6" and "used7".
2008-08-07 20:01:14 +00:00
..
config bfd: 2007-08-28 13:21:58 +00:00
ld-alpha Update for elf_link_output_extsym change 2008-07-22 14:15:32 +00:00
ld-arm Update for elf_link_output_extsym change 2008-07-22 14:15:32 +00:00
ld-auto-import * ld-auto-import/auto-import.exp: Use $ld to link the dll for 2008-02-20 17:51:18 +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 bfd: 2007-08-28 13:21:58 +00:00
ld-cris Update for elf_link_output_extsym change 2008-07-22 14:15:32 +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 binutils/ 2008-08-06 00:42:17 +00:00
ld-elfcomm PR ld/6430 2008-05-31 16:35:56 +00:00
ld-elfvers * ld-elfvers/vers.exp (test_ar): Sort the expected output so that 2008-01-28 16:41:05 +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-gc * ld-gc/gc.exp (test_gc): xfail powerpc64. 2008-07-27 04:40:58 +00:00
ld-h8300 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-i386 bfd/ChangeLog: 2008-07-28 18:07:05 +00:00
ld-ia64 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +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 2008-07-11 H.J. Lu <hongjiu.lu@intel.com> 2008-07-11 17:19:00 +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/ 2008-08-07 20:01:14 +00:00
ld-mmix PR gas/6607 2008-06-16 15:07:01 +00:00
ld-mn10300 * ld-elf/flags1.d: Add xfails for ports for which the test will work. 2007-12-31 11:29:01 +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 Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
ld-s390 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-scripts * ld-scripts/include.exp: Don't run test for aout. 2008-07-26 01:23:37 +00:00
ld-selective 2007-09-30 Mike Frysinger <vapier@gentoo.org> 2007-09-30 15:26:43 +00:00
ld-sh * ld-sh/arch/arch_expected.txt: Regenerate. 2008-06-09 22:22:05 +00:00
ld-shared 2008-02-14 H.J. Lu <hongjiu.lu@intel.com> 2008-02-14 20:23:27 +00:00
ld-sparc bfd/ 2008-04-16 08:51:18 +00:00
ld-spu update 2008-06-19 16:15:17 +00:00
ld-srec * ld-srec/srec.exp: Define __stack_chk_fail sym. 2007-10-12 04:38:29 +00:00
ld-undefined binutils/testsuite/ 2008-02-04 23:41:54 +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 bfd/ 2008-04-21 17:54:25 +00:00
ld-x86-64 bfd/ChangeLog: 2008-07-28 18:07:05 +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 2008-01-31 Marc Gauthier <marc@tensilica.com> 2008-02-01 17:58:48 +00:00
lib * lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings 2008-02-18 11:04:09 +00:00
ChangeLog bfd/ 2008-08-07 20:01:14 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2006 Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 17:30:59 +00:00
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-9303 Split ChangeLog files. 2004-01-02 11:16:21 +00:00