David S. Miller
416b2d8719
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:04 +00:00
..
2010-04-15 10:26:09 +00:00
2010-01-06 05:25:24 +00:00
2011-06-02 13:43:23 +00:00
2012-04-12 16:26:04 +00:00
2012-04-12 05:33:15 +00:00
2012-02-23 16:29:56 +00:00
2010-04-15 10:26:09 +00:00
2012-04-12 16:26:04 +00:00
2010-06-10 08:31:20 +00:00
2012-03-08 14:14:52 +00:00
2009-11-18 11:57:44 +00:00
2011-10-22 01:35:29 +00:00
2012-04-09 16:27:18 +00:00
2008-08-25 04:36:03 +00:00
2010-04-15 10:26:09 +00:00
2012-04-12 16:26:04 +00:00
2009-08-16 12:06:21 +00:00
2005-05-10 10:21:13 +00:00
2007-07-17 13:50:23 +00:00
2012-01-07 02:53:16 +00:00
2012-03-15 12:58:48 +00:00
2012-01-26 22:57:17 +00:00
2009-06-01 19:40:32 +00:00
2009-06-01 19:40:32 +00:00
2011-07-01 18:24:38 +00:00
2011-01-03 21:05:50 +00:00
2005-05-10 10:21:13 +00:00
1999-05-03 07:29:06 +00:00
1999-05-03 07:29:06 +00:00
2009-05-25 13:04:40 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2010-06-10 18:30:17 +00:00
2010-04-15 10:26:09 +00:00
2005-05-10 10:21:13 +00:00
2011-09-28 20:01:37 +00:00
2009-10-07 02:57:27 +00:00
2000-07-05 19:28:05 +00:00
2008-03-25 00:21:18 +00:00
2010-04-15 10:26:09 +00:00
2005-05-10 10:21:13 +00:00
2011-10-22 01:35:29 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2011-09-27 00:01:35 +00:00
2010-04-15 10:26:09 +00:00
2008-07-07 17:09:31 +00:00
2010-04-15 10:26:09 +00:00
2010-11-17 02:03:39 +00:00
2005-05-10 10:21:13 +00:00
2012-04-10 17:07:28 +00:00
2010-03-23 15:58:51 +00:00
2011-09-28 20:01:37 +00:00
2005-07-12 10:34:51 +00:00
2011-07-25 17:11:44 +00:00
2011-01-03 21:05:50 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00