Add "typename" keyword to satisfy GCC 4.2.
authorCary Coutant <ccoutant@google.com>
Fri, 17 Oct 2014 23:22:55 +0000 (16:22 -0700)
committerCary Coutant <ccoutant@google.com>
Fri, 17 Oct 2014 23:24:20 +0000 (16:24 -0700)
gold/
* aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
Add "typename" keyword.

gold/ChangeLog
gold/aarch64.cc

index c2c325321823563647e08226db8aa53a4feefecb..db2f8838a5aa6640d32d44465bdf111bfe6d9db9 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-17  Cary Coutant  <ccoutant@google.com>
+
+       * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
+       Add "typename" keyword.
+
 2014-09-22  Han Shen  <shenhan@google.com>
             Jing Yu   <jingyu@google.com>
 
index 7ce295a26cb3e7bac253c836910c3c9b0ab42079..e2bdf9589fdd89b448c70227a47316209e47b7b0 100644 (file)
@@ -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 "