* elf64-mips.c (mips_elf64_link_hash_entry): New link hash.

(mips_elf64_high): New Function.
	(mips_elf64_higher): Likewise.
	(mips_elf64_highest): Likewise.
	(mips_elf64_info_to_howto_rel): Likewise.
	(mips_elf64_info_to_howto_rela): Likewise.
	(mips_elf64_write_rel): Likewise.
	(mips_elf64_write_rela): Likewise.
	(mips_elf64_link_hash_newfunc): Likewise.
	(mips_elf64_hi16_reloc): Likewise.
	(mips_elf64_higher_reloc): Likewise.
	(mips_elf64_highest_reloc): Likewise.
	(mips_elf64_gprel16_reloc): Likewise.
	(mips_elf64_gprel16_reloca): Likewise.
	(mips_elf64_literal_reloc): Likewise.
	(mips_elf64_gprel32_reloc): Likewise.
	(mips_elf64_shift6_reloc): Likewise.
	(mips_elf64_got16_reloc): Likewise.
	(mips_elf64_assign_gp): Likewise.
	(mips_elf64_final_gp): Likewise.
	(gprel16_with_gp): Likewise.
	(mips_elf64_additional_program_headers): Likewise.
	(mips_elf64_link_hash_table_create): Likewise.
	(mips_elf64_got_offset_from_index): Likewise.
	(_mips_elf64_got_info): Likewise.
	(mips_elf64_sign_extend): Likewise.
	(mips_elf64_overflow_p): Likewise.
	(mips_elf64_global_got_index): Likewise.
	(mips_elf64_sort_hash_table_f): Likewise.
	(mips_elf64_sort_hash_table): Likewise.
	(mips_elf64_swap_msym_out): Likewise.
	(mips_elf64_create_local_got_entry): Likewise.
	(mips_elf64_local_got_index): Likewise.
	(mips_elf64_got_page): Likewise.
	(mips_elf64_got16_entry): Likewise.
	(mips_elf64_local_relocation_p): Likewise.
	(mips_elf64_next_relocation): Likewise.
	(mips_elf64_create_dynamic_relocation): Likewise.
	(mips_elf64_calculate_relocation): Likewise.
	(mips_elf64_obtain_contents): Likewise.
	(mips_elf64_perform_relocation): Likewise.
	(mips_elf64_relocate_section): Likewise.
	(mips_elf64_create_dynamic_sections): Likewise.
	(mips_elf64_adjust_dynamic_symbol): Likewise.
	(mips_elf64_always_size_sections): Likewise.
	(mips_elf64_size_dynamic_sections): Likewise.
	(mips_elf64_finish_dynamic_symbol): Likewise.
	(mips_elf64_finish_dynamic_sections): Likewise.
	(mips_elf64_gc_mark_hook): Likewise.
	(mips_elf64_gc_sweep_hook): Likewise.
	(mips_elf64_create_got_section): Likewise.
	(mips_elf64_record_global_got_symbol): Likewise.
	(mips_elf64_create_msym_section): Likewise.
	(mips_elf64_allocate_dynamic_relocations): Likewise.
	(mips_elf64_check_relocs): Likewise.
	(mips_elf64_output_extsym): Likewise.
	(mips_elf64_swap_gptab_in): Likewise.
	(mips_elf64_swap_gptab_out): Likewise.
	(gptab_compare): Likewise.
	(mips_elf64_final_link): Likewise.
	(prev_reloc_addend): Remenber addend of previous parts of a combined
	reloc.
	(ELF_MIPS_GP_OFFSET): New define.
	(STUB_LW,STUB_MOVE,STUB_JALR,STUB_LI16): Likewise.
	(MIPS_FUNCTION_STUB_SIZE): Likewise.
	(mips_elf64_howto_rel): Fix HOWTO defines.
	(mips_elf64_howto_rela): Likewise.
	(mips_elf64_swap_reloca_out): Fix signedness.
	(mips_elf64_be_swap_reloc_in): Use ELF64* instead of ELF32*.
	(mips_elf64_be_swap_reloca_in): Likewise.
	(mips_elf64_be_swap_reloc_out): Likewise. Preserve extended type info.
	(mips_elf64_be_swap_reloca_out): Likewise.
This commit is contained in:
Thiemo Seufer 2001-12-15 09:56:19 +00:00
parent 68f691521a
commit 5b6a02bcf4
2 changed files with 4847 additions and 190 deletions

View File

@ -1,3 +1,78 @@
2001-12-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* elf64-mips.c (mips_elf64_link_hash_entry): New link hash.
(mips_elf64_high): New Function.
(mips_elf64_higher): Likewise.
(mips_elf64_highest): Likewise.
(mips_elf64_info_to_howto_rel): Likewise.
(mips_elf64_info_to_howto_rela): Likewise.
(mips_elf64_write_rel): Likewise.
(mips_elf64_write_rela): Likewise.
(mips_elf64_link_hash_newfunc): Likewise.
(mips_elf64_hi16_reloc): Likewise.
(mips_elf64_higher_reloc): Likewise.
(mips_elf64_highest_reloc): Likewise.
(mips_elf64_gprel16_reloc): Likewise.
(mips_elf64_gprel16_reloca): Likewise.
(mips_elf64_literal_reloc): Likewise.
(mips_elf64_gprel32_reloc): Likewise.
(mips_elf64_shift6_reloc): Likewise.
(mips_elf64_got16_reloc): Likewise.
(mips_elf64_assign_gp): Likewise.
(mips_elf64_final_gp): Likewise.
(gprel16_with_gp): Likewise.
(mips_elf64_additional_program_headers): Likewise.
(mips_elf64_link_hash_table_create): Likewise.
(mips_elf64_got_offset_from_index): Likewise.
(_mips_elf64_got_info): Likewise.
(mips_elf64_sign_extend): Likewise.
(mips_elf64_overflow_p): Likewise.
(mips_elf64_global_got_index): Likewise.
(mips_elf64_sort_hash_table_f): Likewise.
(mips_elf64_sort_hash_table): Likewise.
(mips_elf64_swap_msym_out): Likewise.
(mips_elf64_create_local_got_entry): Likewise.
(mips_elf64_local_got_index): Likewise.
(mips_elf64_got_page): Likewise.
(mips_elf64_got16_entry): Likewise.
(mips_elf64_local_relocation_p): Likewise.
(mips_elf64_next_relocation): Likewise.
(mips_elf64_create_dynamic_relocation): Likewise.
(mips_elf64_calculate_relocation): Likewise.
(mips_elf64_obtain_contents): Likewise.
(mips_elf64_perform_relocation): Likewise.
(mips_elf64_relocate_section): Likewise.
(mips_elf64_create_dynamic_sections): Likewise.
(mips_elf64_adjust_dynamic_symbol): Likewise.
(mips_elf64_always_size_sections): Likewise.
(mips_elf64_size_dynamic_sections): Likewise.
(mips_elf64_finish_dynamic_symbol): Likewise.
(mips_elf64_finish_dynamic_sections): Likewise.
(mips_elf64_gc_mark_hook): Likewise.
(mips_elf64_gc_sweep_hook): Likewise.
(mips_elf64_create_got_section): Likewise.
(mips_elf64_record_global_got_symbol): Likewise.
(mips_elf64_create_msym_section): Likewise.
(mips_elf64_allocate_dynamic_relocations): Likewise.
(mips_elf64_check_relocs): Likewise.
(mips_elf64_output_extsym): Likewise.
(mips_elf64_swap_gptab_in): Likewise.
(mips_elf64_swap_gptab_out): Likewise.
(gptab_compare): Likewise.
(mips_elf64_final_link): Likewise.
(prev_reloc_addend): Remenber addend of previous parts of a combined
reloc.
(ELF_MIPS_GP_OFFSET): New define.
(STUB_LW,STUB_MOVE,STUB_JALR,STUB_LI16): Likewise.
(MIPS_FUNCTION_STUB_SIZE): Likewise.
(mips_elf64_howto_rel): Fix HOWTO defines.
(mips_elf64_howto_rela): Likewise.
(mips_elf64_swap_reloca_out): Fix signedness.
(mips_elf64_be_swap_reloc_in): Use ELF64* instead of ELF32*.
(mips_elf64_be_swap_reloca_in): Likewise.
(mips_elf64_be_swap_reloc_out): Likewise. Preserve extended type info.
(mips_elf64_be_swap_reloca_out): Likewise.
2001-12-15 Jakub Jelinek <jakub@redhat.com>
* elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype.

File diff suppressed because it is too large Load Diff