Add "typename" keyword to satisfy GCC 4.2.

gold/
	* aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
	Add "typename" keyword.
This commit is contained in:
Cary Coutant 2014-10-17 16:22:55 -07:00
parent bf97b6dd05
commit aed56ec5f2
2 changed files with 6 additions and 1 deletions

View 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>

View 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 "