David S. Miller 2615994e91 Support R_SPARC_WDISP10 and R_SPARC_H34.
include/

	* elf/sparc.h (R_SPARC_WDISP10): New reloc.
	* opcode/sparc.h: Define '=' as generating R_SPARC_WDISP10.

opcodes/

	* sparc-dis.c (X_DISP10): Define.
	(print_insn_sparc): Handle '='.

bfd/

	* reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32,
	BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Likewise.
	* elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function.
	(_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34,
	R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10.
	(_bfd_sparc_elf_reloc_type_lookup): Handle new relocs.
	(_bfd_sparc_elf_check_relocs): Likewise.
	(_bfd_sparc_elf_gc_sweep_hook): Likewise.
	(_bfd_sparc_elf_relocate_section): Likewise.

gas/

	* config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
	BFD_RELOC_SPARC_H34.
	(md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
	(tc_gen_reloc): Likewise.

gas/testsuite/

	* gas/sparc/reloc64.s: Add abs34 code model tests.
	* gas/sparc/reloc64.d: Update.

elfcpp/

	* sparc.h (R_SPARC_WDISP10): New relocation.

gold/

	* sparc.cc (Reloc::wdisp10): New relocation method.
	(Reloc::h34): Likewise.
	(Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
	(Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
	R_SPARC_WDISP10.
	(Target_sparc::Scan::local): Likewise.
	(Target_sparc::Scan::global): Likewise.
	(Target_sparc::Relocate::relocate): Likewise.
2012-04-12 16:26:06 +00:00
..
2010-05-07 12:28:50 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2007-10-04 13:43:16 +00:00
2011-10-18 14:41:55 +00:00
2011-07-01 16:11:27 +00:00
2009-10-24 00:17:08 +00:00
2009-09-02 07:25:43 +00:00
2004-01-02 11:16:21 +00:00
2004-01-02 11:16:21 +00:00
2006-01-16 23:15:07 +00:00
2006-01-16 23:15:07 +00:00
2008-01-03 05:27:55 +00:00
2009-01-06 01:03:27 +00:00
2011-01-01 16:43:53 +00:00
2012-01-05 10:09:39 +00:00
2011-11-02 12:02:22 +00:00
2012-01-16 23:51:35 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2012-02-27 06:37:40 +00:00
2012-02-27 06:37:40 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2012-03-15 12:58:48 +00:00
2011-10-26 12:46:04 +00:00
2011-10-25 11:18:16 +00:00
2011-10-25 11:18:16 +00:00
2011-10-25 11:18:16 +00:00
2011-10-25 11:18:16 +00:00
2011-10-25 11:18:16 +00:00
2011-10-26 12:46:04 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-10-08 14:00:50 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 16:43:46 +00:00
2007-07-05 09:49:03 +00:00
2007-07-05 09:49:03 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2008-08-28 14:07:50 +00:00
2008-08-28 14:07:50 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-02-13 04:38:57 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
[.]
2011-11-02 03:09:11 +00:00
[.]
2011-11-02 03:09:11 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-06-28 14:41:59 +00:00
2010-10-09 06:50:23 +00:00
2011-07-24 14:04:51 +00:00
2012-03-24 01:09:28 +00:00
2011-12-08 20:52:42 +00:00
2009-09-02 07:25:43 +00:00
2010-02-03 12:47:06 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2012-02-27 06:57:57 +00:00
2010-01-02 18:50:59 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2010-10-08 14:00:50 +00:00
2010-10-08 14:00:50 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2012-03-09 23:39:06 +00:00
[.]
2011-11-02 03:09:11 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2011-09-27 04:30:32 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2010-10-25 15:33:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00