[PATCH] gold: Remove ei_class from mips.cc.
Vladimir Radosavljevic
Vladimir.Radosavljevic@imgtec.com
Wed Mar 16 11:35:00 GMT 2016
This patch removes ei_class from mips.cc, and changes the way how to check for N64 ABI.
Depends on https://sourceware.org/ml/binutils/2016-03/msg00221.html.
Regards,
Vladimir.
ChangeLog -
* elfcpp/mips.h (abi_64): Remove.
* gold/mips.cc (Mips_relobj::Mips_relobj): Set is_n64_ by checking
template parameter size.
(Target_mips::is_output_n64): Change checking for N64 ABI.
(Target_mips::ei_class_): Remove.
(Target_mips::merge_processor_specific_flags): Remove ei_class
argument, and remove comparing ei_class.
(Target_mips::do_adjust_elf_header): Remove setting EI_CLASS field
of the ELF header.
(Target_mips::do_finalize_sections): Don't pass ei_class argument
to merge_processor_specific_flags.
(Target_mips::elf_mips_abi_name): Remove ei_class argument, and
change checking for N64 ABI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_ei_class.patch
Type: text/x-patch
Size: 7733 bytes
Desc: remove_ei_class.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20160316/ce35f573/attachment.bin>
More information about the Binutils
mailing list