old-cross-binutils/ld/testsuite
Richard Sandiford 13db6b44ea bfd/
* elfxx-mips.c (mips_got_page_ref): New structure.
	(mips_got_page_entry): Use a section rather than a (bfd, symndx)
	pair to represent the anchor point.
	(mips_got_info): Add a got_page_refs field.
	(mips_elf_link_hash_table): Add a sym_cache field.
	(mips_got_page_ref_hash, mips_got_page_ref_eq): New functions.
	(mips_got_page_entry_hash, mips_got_page_entry_eq): Update for
	new anchor representation.
	(mips_elf_create_got_info): Create got_page_refs rather than
	got_page_entries.
	(mips_elf_record_got_page_ref): New function.
	(mips_elf_pages_for_range): Move further down file.
	(mips_elf_record_got_page_entry): Likewise.  Take a got as argument.
	Use a section rather than a (bfd, symndx) pair to represent the
	anchor point.
	(mips_elf_resolve_got_page_ref): New function.
	(mips_elf_resolve_final_got_entries): Use it to populate
	got_page_entries.
	(_bfd_mips_elf_check_relocs): Call mips_elf_record_got_page_ref
	rather than mips_elf_record_got_page_entry.  Only nullify h
	afterwards.
	(mips_elf_lay_out_got): Call mips_elf_resolve_final_got_entries
	earlier.

ld/testsuite/
	* ld-mips-elf/mips16-pic-2.dd,
	ld-mips-elf/mips16-pic-2.gd: Remove 3 unused local GOT entries.
	* ld-mips-elf/got-page-4a.s, ld-mips-elf/got-page-4b.s,
	ld-mips-elf/got-page-4a.d, ld-mips-elf/got-page-4a.got,
	ld-mips-elf/got-page-4b.d, ld-mips-elf/got-page-4b.got,
	ld-mips-elf/got-page-5.s, ld-mips-elf/got-page-5.d,
	ld-mips-elf/got-page-5.got, ld-mips-elf/got-page-6.s,
	ld-mips-elf/got-page-6.d, ld-mips-elf/got-page-6.got,
	ld-mips-elf/got-page-7a.s, ld-mips-elf/got-page-7b.s,
	ld-mips-elf/got-page-7c.s, ld-mips-elf/got-page-7d.s,
	ld-mips-elf/got-page-7e.s, ld-mips-elf/got-page-7.d,
	ld-mips-elf/got-page-7.got: New tests.
	* ld-mips-elf/mips-elf.exp: Run them.
2013-02-13 14:08:58 +00:00
..
config Add HOSTING_SCRT0 for PIE test 2013-01-19 19:36:37 +00:00
ld-aarch64 opcodes/ 2013-01-04 14:59:33 +00:00
ld-alpha ld/ 2012-06-15 15:13:41 +00:00
ld-arm oops accidentally omitted from previous delta 2012-10-31 08:42:11 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now 2013-01-31 09:55:23 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
ld-elfcomm 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
ld-elfvers Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-elfvsb Remove address check if HIDDEN_UNDEF_TEST is defined 2012-10-25 03:59:37 +00:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
ld-h8300
ld-i386 ld/testsuite/ 2013-01-08 10:24:46 +00:00
ld-ia64 ld/ 2012-06-15 15:13:41 +00:00
ld-ifunc Properly adjust h->plt.refcount 2012-12-21 18:15:22 +00:00
ld-libs
ld-linkonce
ld-m68hc11 2012-11-07 James Murray <jsm@jsm-net.demon.co.uk> 2012-11-07 20:35:02 +00:00
ld-m68k * ld-m68k/tls-ld-1.d: Update. 2012-05-17 06:13:32 +00:00
ld-mep
ld-metag oops - omitted from previous delta 2013-01-11 09:53:22 +00:00
ld-mips-elf bfd/ 2013-02-13 14:08:58 +00:00
ld-misc
ld-mmix * ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols 2012-09-09 16:31:12 +00:00
ld-mn10300 bfd/ 2012-06-06 10:50:18 +00:00
ld-nios2 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
ld-pe
ld-pie
ld-plugin 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
ld-powerpc bfd/ 2013-01-31 06:28:48 +00:00
ld-s390 ld/ 2012-06-15 15:13:41 +00:00
ld-scripts * ld-scripts/pr14962.d: Don't run for mmix-knuth-mmixware. Add 2012-12-30 20:15:07 +00:00
ld-selective
ld-sh bfd/ 2012-10-23 09:33:56 +00:00
ld-shared Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-size Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
ld-sparc ld/ 2012-06-15 15:13:41 +00:00
ld-spu ld/ 2012-06-15 15:13:41 +00:00
ld-srec Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-tic6x Add copyright notices 2012-12-17 16:56:12 +00:00
ld-tilegx
ld-tilepro
ld-undefined
ld-unique Set STB_GNU_UNIQUE only if symbol is defined in regular object 2013-02-08 01:33:01 +00:00
ld-v850
ld-vax-elf bfd/ 2012-08-05 22:45:20 +00:00
ld-versados
ld-vxworks
ld-x86-64 Don't optimize relocation against _DYNAMIC 2012-09-01 02:50:14 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib Add HOSTING_SCRT0 for PIE test 2013-01-19 19:36:37 +00:00
ChangeLog bfd/ 2013-02-13 14:08:58 +00:00
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 Rotate binutils ChangeLog for 2013 2013-01-02 17:06:32 +00:00
ChangeLog-9303 Add copyright notices 2012-12-10 12:48:03 +00:00