binutils-gdb/ld/testsuite
Richard Sandiford 634835aefb bfd/
* elfxx-mips.c (GGA_NORMAL, GGA_RELOC_ONLY, GGA_NONE): New macros.
	(mips_elf_link_hash_entry): Add a "global_got_area" field.
	(mips_elf_link_hash_newfunc): Initialize it.
	(mips_elf_sort_hash_table_f): Use h->global_got_area instead of
	h->root.got.offset.  Do not handle forced_local symbols specially.
	(mips_elf_record_global_got_symbol): Set h->global_got_area
	instead of h->root.got.offset.
	(mips_elf_recreate_got): Assert that h->global_got_area == GGA_NONE
	for indirect and warning symbols.
	(mips_elf_count_forced_local_got_symbols): Change the argument
	from a "elf_link_hash_entry" to "mips_elf_link_hash_entry".
	Use and set h->global_got_area instead of h->root.got.offset.
	Set it to GGA_NONE for all forced-local symbols.
	(mips_elf_set_global_got_offset): Set h->global_got_area
	instead of h->root.got.offset.  Use g->global_got_area instead
	of a combination of dynindx, forced_local and tls_type.
	(mips_elf_multi_got): Remove disabled code.  Pass GGA_* values to
	mips_elf_set_global_got_offset.
	(mips_elf_lay_out_got): Use mips_elf_link_hash_traverse instead
	of elf_link_hash_traverse.
	(_bfd_mips_elf_copy_indirect_symbol): Copy the indirect symbol's
	global_got_area to the direct symbol if the latter's value is higher.
	Set the indirect symbol's area to GGA_NONE.

ld/testsuite/
	* ld-mips-elf/got-vers-1a.s, ld-mips-elf/got-vers-1b.s,
	ld-mips-elf/got-vers-1.ver, ld-mips-elf/got-vers-1.dd,
	ld-mips-elf/got-vers-1.sd, ld-mips-elf/got-vers-1.rd: New tests.
	* ld-mips-elf/mips-elf.exp: Run them.
2008-08-07 19:58:38 +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 19:58:38 +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 19:58:38 +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