From aed56ec5f279e3849810e19f7d4b7fc0fe6ac528 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Fri, 17 Oct 2014 16:22:55 -0700 Subject: [PATCH] Add "typename" keyword to satisfy GCC 4.2. gold/ * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub): Add "typename" keyword. --- gold/ChangeLog | 5 +++++ gold/aarch64.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index c2c32532182..db2f8838a5a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2014-10-17 Cary Coutant + + * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub): + Add "typename" keyword. + 2014-09-22 Han Shen Jing Yu diff --git a/gold/aarch64.cc b/gold/aarch64.cc index 7ce295a26cb..e2bdf9589fd 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -4093,7 +4093,7 @@ maybe_apply_stub(unsigned int r_type, const AArch64_reloc_property* arp = aarch64_reloc_property_table->get_reloc_property(r_type); gold_assert(arp != NULL); - This::Status status = This::template + typename This::Status status = This::template rela_general<32>(view, branch_offset, 0, arp); if (status != This::STATUS_OKAY) gold_error(_("Stub is too far away, try a smaller value " -- 2.30.2