From 7fa5525f8e8bc5d5e08998718149bda1928e314a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Mon, 6 Apr 2015 15:49:50 -0400 Subject: Fix the signature of a virtual method to match the one in the parent class. --- gold/aarch64.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gold/aarch64.cc') diff --git a/gold/aarch64.cc b/gold/aarch64.cc index 4ae987f..dea64c0 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -1749,9 +1749,8 @@ class Target_aarch64 : public Sized_target } // Return the addend to use for a target specific relocation. - typename elfcpp::Elf_types::Elf_Addr - do_reloc_addend(void* arg, unsigned int r_type, - typename elfcpp::Elf_types::Elf_Addr addend) const; + uint64_t + do_reloc_addend(void* arg, unsigned int r_type, uint64_t addend) const; // Return the PLT section. uint64_t @@ -4389,10 +4388,9 @@ Target_aarch64::new_stub_table( template -typename elfcpp::Elf_types::Elf_Addr +uint64_t Target_aarch64::do_reloc_addend( - void* arg, unsigned int r_type, - typename elfcpp::Elf_types::Elf_Addr) const + void* arg, unsigned int r_type, uint64_t) const { gold_assert(r_type == elfcpp::R_AARCH64_TLSDESC); uintptr_t intarg = reinterpret_cast(arg); -- cgit v1.1