[PATCH v4] gold: Add Mips64 support.
Vladimir Radosavljevic
Vladimir.Radosavljevic@imgtec.com
Mon Mar 7 17:47:00 GMT 2016
Added do_print_to_mapfile() function in Mips_output_data_la25_stub class (this fixed issue with -Map option). Fixed issue with --emit-relocs option for Mips32 by calling 32bit version of elf_r_info in Mips_classify_reloc<sh_type_, 32, big_endian>::put_r_info. Removed unsigned from return type of get_r_addend function in Mips_reloc_types (this fixed issue with -r option when addend is negative for Mips64). Added check_overflow function in Mips_relocate_functions class.
Regards,
Vladimir.
Changelog -
* mips.cc: Add Mips64 support.
* output.h (Output_reloc<SHT_REL>::get_address): Change from private to public.
(Output_reloc<SHT_REL>::get_symbol_index): Likewise.
(Output_data_reloc_base::Sort_relocs_comparison): Change from private to protected.
(Output_data_reloc_base::relocs_): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips64-backend.patch
Type: text/x-patch
Size: 121305 bytes
Desc: mips64-backend.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20160307/9254ce37/attachment.bin>
More information about the Binutils
mailing list