aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorVladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>2016-03-18 14:54:35 -0700
committerCary Coutant <ccoutant@gmail.com>2016-03-18 14:54:35 -0700
commit01b84e25533166047340c41a33cc29153e536227 (patch)
treec08b188812b939e2335bf3ada84cb261603017ae /elfcpp
parent30fab421840b35cdebabc01c5b90a2c1aaaa3912 (diff)
downloadgdb-01b84e25533166047340c41a33cc29153e536227.zip
gdb-01b84e25533166047340c41a33cc29153e536227.tar.gz
gdb-01b84e25533166047340c41a33cc29153e536227.tar.bz2
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.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog4
-rw-r--r--elfcpp/mips.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index caccf3e..a469f86 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-18 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>
+
+ * mips.h (abi_64): Remove.
+
2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
* elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove
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)