aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/mips.h
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/mips.h
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/mips.h')
-rw-r--r--elfcpp/mips.h5
1 files changed, 0 insertions, 5 deletions
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)