diff options
author | Cary Coutant <ccoutant@google.com> | 2014-10-17 16:22:55 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2014-10-17 16:24:20 -0700 |
commit | aed56ec5f279e3849810e19f7d4b7fc0fe6ac528 (patch) | |
tree | 6446bbc6e0e2f8537b55c09c0c6e685199c5475e /gold | |
parent | bf97b6dd05d086f6e68854d4861afc1f3f593380 (diff) | |
download | gdb-aed56ec5f279e3849810e19f7d4b7fc0fe6ac528.zip gdb-aed56ec5f279e3849810e19f7d4b7fc0fe6ac528.tar.gz gdb-aed56ec5f279e3849810e19f7d4b7fc0fe6ac528.tar.bz2 |
Add "typename" keyword to satisfy GCC 4.2.
gold/
* aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
Add "typename" keyword.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/aarch64.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index c2c3253..db2f883 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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> diff --git a/gold/aarch64.cc b/gold/aarch64.cc index 7ce295a..e2bdf95 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 " |