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/ChangeLog | 4 ++++ elfcpp/mips.h | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'elfcpp') diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index caccf3ebf64..a469f86eec7 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,7 @@ +2016-03-18 Vladimir Radosavljevic + + * mips.h (abi_64): Remove. + 2016-01-12 H.J. Lu * elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove diff --git a/elfcpp/mips.h b/elfcpp/mips.h index 4172850e7a7..10137ec22d6 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.2.3-65-gdbad