diff --git a/mold.h b/mold.h index b3d4b7e6..8a785b29 100644 --- a/mold.h +++ b/mold.h @@ -1166,7 +1166,6 @@ template void resolve_obj_symbols(Context &); template void resolve_dso_symbols(Context &); template void eliminate_comdats(Context &); template void convert_common_symbols(Context &); -template void add_comment_string(Context &, std::string str); template void compute_merged_section_sizes(Context &); template void bin_sections(Context &); template void check_duplicate_symbols(Context &); diff --git a/passes.cc b/passes.cc index 2282109f..2338757a 100644 --- a/passes.cc +++ b/passes.cc @@ -789,7 +789,6 @@ void fix_synthetic_symbols(Context &ctx) { template void resolve_dso_symbols(Context &ctx); \ template void eliminate_comdats(Context &ctx); \ template void convert_common_symbols(Context &ctx); \ - template void add_comment_string(Context &ctx, std::string str); \ template void compute_merged_section_sizes(Context &ctx); \ template void bin_sections(Context &ctx); \ template void check_duplicate_symbols(Context &ctx); \