From 01b84e25533166047340c41a33cc29153e536227 Mon Sep 17 00:00:00 2001 From: Vladimir Radosavljevic Date: Fri, 18 Mar 2016 14:54:35 -0700 Subject: Remove is_n64_ data member from Mips_relobj class. elfcpp/ * mips.h (abi_64): Remove. gold/ * mips.cc (Mips_relobj::is_n64_): Remove. (Target_mips::ei_class_): Likewise. (Mips_relobj::is_newabi): Call methods. (Mips_relobj::is_n64): Change checking for N64 ABI. (Target_mips::is_output_n64): Likewise. (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. --- elfcpp/mips.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'elfcpp/mips.h') diff --git a/elfcpp/mips.h b/elfcpp/mips.h index 4172850..10137ec 100644 --- a/elfcpp/mips.h +++ b/elfcpp/mips.h @@ -339,11 +339,6 @@ bool abi_n32(elfcpp::Elf_Word e_flags) { return (e_flags & elfcpp::EF_MIPS_ABI2) != 0; } -// Whether the ABI is N64. -bool -abi_64(unsigned char ei_class) -{ return ei_class == elfcpp::ELFCLASS64; } - // Whether the file has microMIPS code. bool is_micromips(elfcpp::Elf_Word e_flags) -- cgit v1.1