From 265d97f743a4ba78bcffd7ae8d0ea02668a58df3 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 28 Dec 2016 08:29:43 -0800 Subject: [PATCH] Add explicit instantiations for build_compressed_section_map(). gold/ PR gold/20996 * object.cc (build_compressed_section_map): Add explicit instantiations. --- gold/ChangeLog | 5 +++++ gold/object.cc | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index 5a0cf683330..3c8dbe04278 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2016-12-28 Cary Coutant + + PR gold/20996 + * object.cc (build_compressed_section_map): Add explicit instantiations. + 2016-12-27 Cary Coutant PR ld/20995 diff --git a/gold/object.cc b/gold/object.cc index 72afc4557d4..cedc6abfcde 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -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. -- 2.30.2