Add explicit instantiations for build_compressed_section_map().
authorCary Coutant <ccoutant@gmail.com>
Wed, 28 Dec 2016 16:29:43 +0000 (08:29 -0800)
committerCary Coutant <ccoutant@gmail.com>
Wed, 28 Dec 2016 16:29:57 +0000 (08:29 -0800)
gold/
PR gold/20996
* object.cc (build_compressed_section_map): Add explicit instantiations.

gold/ChangeLog
gold/object.cc

index 5a0cf683330167272539b7e61548cca023580bee..3c8dbe0427832aec3e7729b144c88feb93852b94 100644 (file)
@@ -1,3 +1,8 @@
+2016-12-28  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/20996
+       * object.cc (build_compressed_section_map): Add explicit instantiations.
+
 2016-12-27  Cary Coutant  <ccoutant@gmail.com>
 
        PR ld/20995
index 72afc4557d4a55a753902859d7fe374819c8b70f..cedc6abfcded5ab3ecc31de0ccf0e18386a889b5 100644 (file)
@@ -3457,4 +3457,36 @@ Xindex::read_symtab_xindex<64, true>(Object*, unsigned int,
                                     const unsigned char*);
 #endif
 
+#ifdef HAVE_TARGET_32_LITTLE
+template
+Compressed_section_map*
+build_compressed_section_map<32, false>(const unsigned char*, unsigned int,
+                                       const char*, section_size_type, 
+                                       Object*, bool);
+#endif
+
+#ifdef HAVE_TARGET_32_BIG
+template
+Compressed_section_map*
+build_compressed_section_map<32, true>(const unsigned char*, unsigned int,
+                                       const char*, section_size_type, 
+                                       Object*, bool);
+#endif
+
+#ifdef HAVE_TARGET_64_LITTLE
+template
+Compressed_section_map*
+build_compressed_section_map<64, false>(const unsigned char*, unsigned int,
+                                       const char*, section_size_type, 
+                                       Object*, bool);
+#endif
+
+#ifdef HAVE_TARGET_64_BIG
+template
+Compressed_section_map*
+build_compressed_section_map<64, true>(const unsigned char*, unsigned int,
+                                       const char*, section_size_type, 
+                                       Object*, bool);
+#endif
+
 } // End namespace gold.