aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2016-12-28 08:29:43 -0800
committerCary Coutant <ccoutant@gmail.com>2016-12-28 08:29:57 -0800
commit265d97f743a4ba78bcffd7ae8d0ea02668a58df3 (patch)
tree74d453820629e0d3c80a8d231e81c4c9cad53ff5 /gold
parent6142c999f2a9700d568eb25462a5d622d220b4cb (diff)
downloadgdb-265d97f743a4ba78bcffd7ae8d0ea02668a58df3.zip
gdb-265d97f743a4ba78bcffd7ae8d0ea02668a58df3.tar.gz
gdb-265d97f743a4ba78bcffd7ae8d0ea02668a58df3.tar.bz2
Add explicit instantiations for build_compressed_section_map().
gold/ PR gold/20996 * object.cc (build_compressed_section_map): Add explicit instantiations.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/object.cc32
2 files changed, 37 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 5a0cf68..3c8dbe0 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/object.cc b/gold/object.cc
index 72afc45..cedc6ab 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.