Add icf_virtual_function_folding_test to check_PROGRAMS.
[binutils-gdb.git] / gold / icf.h
index c1db8e586f512dbf420efe5ad8534336d17d4ce8..27bbbba0fe5f461dc73eea2e155985c02a842e3e 100644 (file)
@@ -127,6 +127,7 @@ class Icf
     return (parameters->options().icf_safe_folding()
            && target->can_check_for_function_pointers()
             && !is_prefix_of(".rodata._ZTV", section_name.c_str())
+            && !is_prefix_of(".data.rel.ro._ZTV", section_name.c_str())
             && !is_prefix_of(".eh_frame", section_name.c_str()));
   }