Sandra Loosemore
8c163c5a87
Relocations for Nios II R2
2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
bfd/
* bfd-in2.h: Regenerated.
* elf32-nios2.c (elf_nios2_howto_table_rel): Rename to...
(elf_nios2_r1_howto_table_rel): This.
(elf_nios2_r2_howto_table_rel): New.
(BFD_IS_R2): New.
(lookup_howto): Add ABFD parameter. Adjust to look up in either
the R1 or R2 relocation table, as determined by ABFD.
(nios2_reloc_map): Add R2 relocations.
(nios2_elf32_bfd_reloc_type_lookup): Do lookup using lookup_howto.
Pass it the ABFD parameter.
(nios2_elf32_bfd_reloc_name_lookup): Use ABFD to decide whether to
return an R1 or R2 relocation.
(nios2_elf32_info_to_howto): Do lookup using lookup_howto.
Pass it the ABFD parameter.
(nios2_elf32_do_call26_relocate): Check for alignment on a 4-byte
boundary.
(nios2_elf32_relocate_section): Adjust call to lookup_howto.
* libbfd.h: Regenerated.
* reloc.c (BFD_RELOC_NIOS2_R2_S12): New.
(BFD_RELOC_NIOS2_R2_I10_1_PCREL): New.
(BFD_RELOC_NIOS2_R2_T1I7_1_PCREL): New.
(BFD_RELOC_NIOS2_R2_T1I7_2): New.
(BFD_RELOC_NIOS2_R2_T2I4): New.
(BFD_RELOC_NIOS2_R2_T2I4_1): New.
(BFD_RELOC_NIOS2_R2_T2I4_2): New.
(BFD_RELOC_NIOS2_R2_X1I7_2): New.
(BFD_RELOC_NIOS2_R2_X2L5): New.
(BFD_RELOC_NIOS2_R2_F1I5_2): New.
(BFD_RELOC_NIOS2_R2_L5I4X1): New.
(BFD_RELOC_NIOS2_R2_T1X1I6): New.
(BFD_RELOC_NIOS2_R2_T1X1I6_2): New.
include/elf/
* nios2.h (R_NIOS2_R2_S12): New.
(R_NIOS2_R2_I10_1_PCREL): New.
(R_NIOS2_R2_T1I7_1_PCREL): New.
(R_NIOS2_R2_T1I7_2): New.
(R_NIOS2_R2_T2I4): New.
(R_NIOS2_R2_T2I4_1): New.
(R_NIOS2_R2_T2I4_2): New.
(R_NIOS2_R2_X1I7_2): New.
(R_NIOS2_R2_X2L5): New.
(R_NIOS2_R2_F1I5_2): New.
(R_NIOS2_R2_L5I4X1): New.
(R_NIOS2_R2_T1X1I6): New.
(R_NIOS2_R2_T1X1I6_2): New.
(R_NIOS2_ILLEGAL): Renumber.
2015-07-01 16:02:09 -07:00
..
2015-05-12 13:47:15 +01:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-03-10 11:15:13 +00:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-07-01 16:02:09 -07:00
2012-12-10 12:48:03 +00:00
2015-05-29 09:13:53 -07:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-04-03 12:50:10 -07:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-28 16:25:18 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-04-25 09:15:49 +09:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-04-24 05:40:23 -07:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-06-26 11:53:33 +01:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-07-01 16:02:09 -07:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-03-19 15:37:43 +00:00
2015-04-09 12:48:37 +01:00
2015-04-27 10:32:23 +02:00
2015-02-23 14:52:12 +00:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-02-24 17:54:09 +00:00
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30
2015-01-02 00:53:45 +10:30