This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold][aarch64]Patch for Relaxation


I've committed the following patch.

I have not verified that this is sufficient to get it to compile with
GCC 4.2. I did look for other cases where "typename" might be needed,
but didn't find any. Please let me know if you run into any other
problems.

-cary


2014-10-17  Cary Coutant  <ccoutant@google.com>

gold/
        * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
        Add "typename" keyword.


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 "


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]