[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/20996] build error with -O3
From: |
markus at trippelsdorf dot de |
Subject: |
[Bug gold/20996] build error with -O3 |
Date: |
Wed, 28 Dec 2016 12:30:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20996
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
This patch seems to work:
diff --git a/gold/object.cc b/gold/object.cc
index 72afc4557d4a..768d42c2692c 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -3457,4 +3457,44 @@ Xindex::read_symtab_xindex<64, true>(Object*, unsigned
int,
const unsigned char*);
#endif
+template
+Compressed_section_map*
+build_compressed_section_map <32, false>(
+ const unsigned char* pshdrs,
+ unsigned int shnum,
+ const char* names,
+ section_size_type names_size,
+ Object* obj,
+ bool decompress_if_needed);
+
+template
+Compressed_section_map*
+build_compressed_section_map <64, false>(
+ const unsigned char* pshdrs,
+ unsigned int shnum,
+ const char* names,
+ section_size_type names_size,
+ Object* obj,
+ bool decompress_if_needed);
+
+template
+Compressed_section_map*
+build_compressed_section_map <32, true>(
+ const unsigned char* pshdrs,
+ unsigned int shnum,
+ const char* names,
+ section_size_type names_size,
+ Object* obj,
+ bool decompress_if_needed);
+
+template
+Compressed_section_map*
+build_compressed_section_map <64, true>(
+ const unsigned char* pshdrs,
+ unsigned int shnum,
+ const char* names,
+ section_size_type names_size,
+ Object* obj,
+ bool decompress_if_needed);
+
} // End namespace gold.
--
You are receiving this mail because:
You are on the CC list for the bug.