* arm.cc (Target_arm::gc_process_relocs): Use typename.
authorIan Lance Taylor <ian@airs.com>
Mon, 2 Aug 2010 20:44:31 +0000 (20:44 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 2 Aug 2010 20:44:31 +0000 (20:44 +0000)
* powerpc.cc (Target_powerpc::gc_process_relocs): Likewise.
* sparc.cc (Target_sparc::gc_process_relocs): Likewise.

gold/ChangeLog
gold/arm.cc
gold/powerpc.cc
gold/sparc.cc

index b08fcdf..a9612ba 100644 (file)
@@ -1,5 +1,11 @@
 2010-08-02  Ian Lance Taylor  <iant@google.com>
 
+       * arm.cc (Target_arm::gc_process_relocs): Use typename.
+       * powerpc.cc (Target_powerpc::gc_process_relocs): Likewise.
+       * sparc.cc (Target_sparc::gc_process_relocs): Likewise.
+
+2010-08-02  Ian Lance Taylor  <iant@google.com>
+
        PR 11855
        * script.cc (Script_options::Script_options): Initialize
        symbol_definitions_ and symbol_references_.
index a0bcecd..780b7df 100644 (file)
@@ -8214,7 +8214,7 @@ Target_arm<big_endian>::gc_process_relocs(Symbol_table* symtab,
   typedef typename Target_arm<big_endian>::Scan Scan;
 
   gold::gc_process_relocs<32, big_endian, Arm, elfcpp::SHT_REL, Scan,
-                         Target_arm::Relocatable_size_for_reloc>(
+                         typename Target_arm::Relocatable_size_for_reloc>(
     symtab,
     layout,
     this,
index feb950e..0f0ced8 100644 (file)
@@ -1494,7 +1494,7 @@ Target_powerpc<size, big_endian>::gc_process_relocs(
   typedef typename Target_powerpc<size, big_endian>::Scan Scan;
 
   gold::gc_process_relocs<size, big_endian, Powerpc, elfcpp::SHT_RELA, Scan,
-                         Target_powerpc::Relocatable_size_for_reloc>(
+                         typename Target_powerpc::Relocatable_size_for_reloc>(
     symtab,
     layout,
     this,
index c05365d..cbaa47e 100644 (file)
@@ -2331,7 +2331,7 @@ Target_sparc<size, big_endian>::gc_process_relocs(
   typedef typename Target_sparc<size, big_endian>::Scan Scan;
 
   gold::gc_process_relocs<size, big_endian, Sparc, elfcpp::SHT_RELA, Scan,
-                         Target_sparc::Relocatable_size_for_reloc>(
+                         typename Target_sparc::Relocatable_size_for_reloc>(
     symtab,
     layout,
     this,