Skip to content
  • Bernd Schmidt's avatar
    Merge some FRV FDPIC changes into the Blackfin code. · 6a9adeca
    Bernd Schmidt authored
    	* elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to
    	summary reloc information.
    	(bfinfdpic_dynamic_got_plt_info): New.
    	(_bfin_create_got_section): Create the PLT section here.
    	(elf32_bfinfdpic_create_dynamic_sections): Not here.
    	(_bfinfdpic_count_nontls_entries): Move out of...
    	(_bfinfdpic_count_got_plt_entries): ... here.
    	(_bfinfdpic_count_relocs_fixups): Likewise.
    	(_bfinfdpic_reset_got_plt_entries): New.
    	(_bfinfdpic_size_got_plt): Move out of...
    	(elf32_bfinfdpic_size_dynamic_sections): ... here.
    	(bfinfdpic_relocate_section): Be careful not to call
    	_bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs.
    	(bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info):
    	New functions.
    	(elf_backend_discard_info): Define for FD-PIC.
    6a9adeca