aboutsummaryrefslogtreecommitdiff
path: root/gold/aarch64.cc
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-04-06 15:49:50 -0400
committerRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-04-06 15:49:50 -0400
commit7fa5525f8e8bc5d5e08998718149bda1928e314a (patch)
treee7128fff635697525bfadd708b49880f55003104 /gold/aarch64.cc
parent5368dcf2bae8f15e16cd14348bb7bd716bbc81cb (diff)
downloadfsf-binutils-gdb-7fa5525f8e8bc5d5e08998718149bda1928e314a.zip
fsf-binutils-gdb-7fa5525f8e8bc5d5e08998718149bda1928e314a.tar.gz
fsf-binutils-gdb-7fa5525f8e8bc5d5e08998718149bda1928e314a.tar.bz2
Fix the signature of a virtual method to match the one in the parent class.
Diffstat (limited to 'gold/aarch64.cc')
-rw-r--r--gold/aarch64.cc10
1 files changed, 4 insertions, 6 deletions
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<size, big_endian>
}
// Return the addend to use for a target specific relocation.
- typename elfcpp::Elf_types<size>::Elf_Addr
- do_reloc_addend(void* arg, unsigned int r_type,
- typename elfcpp::Elf_types<size>::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<size, big_endian>::new_stub_table(
template<int size, bool big_endian>
-typename elfcpp::Elf_types<size>::Elf_Addr
+uint64_t
Target_aarch64<size, big_endian>::do_reloc_addend(
- void* arg, unsigned int r_type,
- typename elfcpp::Elf_types<size>::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<uintptr_t>(arg);