Richard Sandiford 020d725158 bfd/
* elfxx-mips.c (mips_got_entry): Adjust commentary.
	(mips_elf_create_local_got_entry): If given a symbol, check that it
	has been assigned to the local part of the GOT.
	(mips_elf_count_got_symbols): Take the bfd_link_info as argument
	instead of the master GOT.  Put all locally-binding symbols in
	the local area.
	(mips_elf_make_got_per_bfd): Use global_got_area to decide whether
	a symbol lives in the local or global area.
	(mips_elf_local_relocation_p): Remove check_forced argument and
	retain only the !check_forced behavior.
	(mips_elf_calculate_relocation): Adjust call accordingly.
	Use global_got_area to decide whether an output relocation
	should be local or global.  Explicitly decay R_MIPS_GOT_PAGE
	into R_MIPS_GOT_DISP where appropriate.  Fix selection of
	local vs. global semantics for R_MIPS*_26.  Remove redundant
	reevaluation of what is stored in was_local_p.
	(mips_elf_create_dynamic_relocation): Use global_got_area to decide
	whether the relocation should be against a global or local symbol.
	(mips_elf_lay_out_got): Update the GOT traversal after the above
	change to mips_elf_count_got_symbols.
	(mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p.
	(_bfd_mips_elf_relocate_section): Likewise.
	(_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide
	whether the symbol has a global got entry.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.

ld/testsuite/
	* ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries
	and remove some duplication between the global and local GOT
	entries.  Adjust GP offsets accordingly.
	* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
	* ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update
	GP offsets accordingly.
	* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
	* ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to
	the local GOT.
	* ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly.
	* ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for
	smaller GOT sizes.
2010-09-19 10:26:28 +00:00
..
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-11-17 13:38:57 +00:00
2007-06-29 16:41:32 +00:00
2010-08-20 21:04:07 +00:00
2010-08-20 21:04:07 +00:00
2007-06-29 16:41:32 +00:00
2010-08-23 13:51:40 +00:00
2007-11-17 13:38:57 +00:00
2010-08-20 21:04:07 +00:00
2010-08-20 21:04:07 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-11-17 13:38:57 +00:00
2010-08-20 21:04:07 +00:00
2010-08-20 21:04:07 +00:00
2007-06-29 16:41:32 +00:00
2010-08-20 21:04:07 +00:00
2007-06-29 16:41:32 +00:00
2007-11-17 13:38:57 +00:00
2010-08-20 21:04:07 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-06-29 16:41:32 +00:00
2007-11-17 13:38:57 +00:00
2007-11-17 13:38:57 +00:00
2010-08-23 13:51:40 +00:00
2007-11-17 13:38:57 +00:00
2007-11-17 13:38:57 +00:00
2007-11-17 13:38:57 +00:00
2010-08-23 13:51:40 +00:00
2007-11-17 13:38:57 +00:00
2007-11-17 13:38:57 +00:00
ld/
2006-10-16 21:34:25 +00:00
2009-09-21 18:55:08 +00:00
2009-09-21 18:55:08 +00:00
2009-09-21 18:55:08 +00:00
2009-09-21 18:55:08 +00:00
2009-09-13 18:56:03 +00:00
2009-09-13 18:56:03 +00:00
2009-09-21 19:07:44 +00:00
2009-09-19 08:06:11 +00:00
2009-09-19 08:06:11 +00:00
2010-09-19 10:26:28 +00:00
2010-09-19 10:26:28 +00:00
2008-03-20 10:52:14 +00:00
2010-09-19 10:26:28 +00:00
2010-09-19 10:26:28 +00:00
2008-03-20 10:52:14 +00:00
2006-03-14 07:47:49 +00:00
2006-03-14 07:47:49 +00:00
2006-03-14 07:47:49 +00:00
2006-03-14 07:47:49 +00:00
2008-08-07 20:01:14 +00:00
2008-03-20 10:53:11 +00:00
2008-03-20 10:53:11 +00:00
2008-08-07 20:01:14 +00:00
2008-03-20 10:53:11 +00:00
2008-03-20 10:53:11 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2008-08-07 19:58:38 +00:00
2008-08-07 19:58:38 +00:00
2008-08-07 19:58:38 +00:00
2008-08-07 19:58:38 +00:00
2008-08-07 19:58:38 +00:00
ld/
2006-07-29 08:48:15 +00:00
ld/
2006-07-29 08:48:15 +00:00
ld/
2006-07-29 08:48:15 +00:00
ld/
2006-07-29 08:48:15 +00:00
ld/
2006-10-16 21:34:25 +00:00
2004-12-09 07:14:53 +00:00
ld/
2006-10-16 21:34:25 +00:00
2003-01-02 21:31:32 +00:00
2002-07-29 21:07:12 +00:00
2002-07-26 18:56:25 +00:00
2002-07-26 18:56:25 +00:00
2006-07-20 16:46:30 +00:00
2005-02-15 19:57:54 +00:00
2005-02-15 19:57:54 +00:00
2005-02-15 19:57:54 +00:00
2005-02-15 19:57:54 +00:00
2006-11-02 15:20:31 +00:00
2006-11-02 15:20:31 +00:00
2008-08-06 19:44:47 +00:00
2008-08-06 19:44:47 +00:00
2007-06-25 10:13:57 +00:00
2008-08-06 19:44:47 +00:00
2010-09-19 10:26:28 +00:00
2010-09-19 10:26:28 +00:00
2008-08-06 19:44:47 +00:00
2008-08-06 19:44:47 +00:00
2008-08-06 19:44:47 +00:00
2008-08-06 19:44:47 +00:00
2008-08-06 19:44:47 +00:00
2008-08-07 20:01:14 +00:00
2008-08-07 20:01:14 +00:00
2008-08-07 20:01:14 +00:00
2008-08-06 19:44:47 +00:00
2008-08-06 19:44:47 +00:00
2008-08-18 18:14:05 +00:00
2008-08-18 18:14:05 +00:00
2008-08-18 18:14:05 +00:00
2008-08-18 18:14:05 +00:00
2008-08-18 18:14:05 +00:00
2008-08-18 18:14:05 +00:00
2008-08-18 18:14:05 +00:00
2009-09-02 07:25:43 +00:00
2007-11-14 20:46:15 +00:00
2005-03-05 00:01:44 +00:00
2005-03-05 00:01:44 +00:00
2010-09-19 10:26:28 +00:00
2008-07-10 19:06:54 +00:00
2008-07-10 19:06:54 +00:00
2008-07-10 19:06:54 +00:00
2008-07-10 19:06:54 +00:00
2008-07-10 19:06:54 +00:00
2008-07-10 19:06:54 +00:00
2002-06-10 16:14:08 +00:00
2002-06-10 16:14:08 +00:00
2002-06-10 16:14:08 +00:00
2002-06-10 16:14:08 +00:00
2006-10-20 07:57:03 +00:00
2006-10-20 07:57:03 +00:00
2006-10-20 07:57:03 +00:00
2008-08-06 19:49:06 +00:00
2008-08-06 19:49:06 +00:00
2008-12-03 14:51:00 +00:00
2008-12-03 14:51:00 +00:00
ld/
2006-10-16 21:34:25 +00:00
ld/
2006-10-16 21:34:25 +00:00
2008-09-20 09:47:43 +00:00
2008-08-07 19:50:05 +00:00
2008-08-07 19:50:05 +00:00
2008-08-07 19:50:05 +00:00
2006-06-11 08:33:27 +00:00
2006-06-11 08:33:27 +00:00
2006-06-11 08:33:27 +00:00
2006-06-11 08:33:27 +00:00
2006-06-11 08:33:27 +00:00
2006-06-11 08:33:27 +00:00
2006-06-11 08:33:27 +00:00
2006-10-19 13:42:17 +00:00
2005-03-24 01:30:47 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2006-02-04 08:29:58 +00:00
2006-02-04 08:29:58 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2008-08-06 19:49:06 +00:00
2007-11-14 20:46:15 +00:00
2008-08-07 20:01:14 +00:00
2008-08-07 20:01:14 +00:00
2007-11-14 20:46:15 +00:00
2008-08-06 19:49:06 +00:00
2008-08-06 19:49:06 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2008-08-06 19:49:06 +00:00
2007-11-14 20:46:15 +00:00
2008-08-07 19:57:28 +00:00
2008-08-07 19:57:28 +00:00
2008-08-07 19:57:28 +00:00
2008-08-07 19:57:28 +00:00
2008-08-06 19:49:06 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2007-11-14 20:46:15 +00:00
2009-12-10 14:20:04 +00:00
2009-12-10 14:20:04 +00:00
2007-08-13 21:16:39 +00:00
2007-08-13 21:16:39 +00:00
2007-04-12 19:26:09 +00:00
2007-08-17 13:22:44 +00:00
2007-05-15 12:22:34 +00:00
2007-05-15 12:22:34 +00:00
2007-08-13 21:16:39 +00:00
2007-08-13 21:16:39 +00:00
2007-08-13 21:16:39 +00:00