This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MIPS ELF64 support in BFD


This stuff is your baby anyhow. Go ahead :)

Since nothing is using this support yet, feel free to check in things
there as you like. Discuss if you'd like to as well :)

-eric


> this patch adds some support for MIPS ELF64 objects to BFD,
> most notably for ABI (n)64 non-PIC code. There are still many
> things to do, and some parts of this code are known to be
> wrong, but it's surely better than the current state in CVS.
> 
> 
> Thiemo
> 
> 
> 2001-12-13  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
> 
> 	/bfd/ChangeLog
> 	* 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.
> 
> 

-- 
Fridays are not "pants optional"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]