diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-01-12 12:21:53 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-01-12 12:21:53 -0800 |
commit | 41549dfbcc747d0dc4a97c9a427c3a29e9878f05 (patch) | |
tree | 6d6d4ebf613fb6291d1939ad54a88550ccf31714 /gold/i386.cc | |
parent | f9498162b9aae9233a6d37c102bf744b77961226 (diff) | |
download | fsf-binutils-gdb-41549dfbcc747d0dc4a97c9a427c3a29e9878f05.zip fsf-binutils-gdb-41549dfbcc747d0dc4a97c9a427c3a29e9878f05.tar.gz fsf-binutils-gdb-41549dfbcc747d0dc4a97c9a427c3a29e9878f05.tar.bz2 |
Fix compile error with use of 'typename' outside of template
* i386.cc (Target_i386::Classify_reloc::get_r_addend): Remove
'typename'.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r-- | gold/i386.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gold/i386.cc b/gold/i386.cc index 3715e5e..7946cf7 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -743,11 +743,10 @@ class Target_i386 : public Sized_target<32, false> public gold::Default_classify_reloc<elfcpp::SHT_REL, 32, false> { public: - typedef typename Reloc_types<elfcpp::SHT_REL, 32, false>::Reloc - Reltype; + typedef Reloc_types<elfcpp::SHT_REL, 32, false>::Reloc Reltype; // Return the explicit addend of the relocation (return 0 for SHT_REL). - static typename elfcpp::Elf_types<32>::Elf_Swxword + static elfcpp::Elf_types<32>::Elf_Swxword get_r_addend(const Reltype*) { return 0; } |