aboutsummaryrefslogtreecommitdiff
path: root/gold/icf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/icf.h')
-rw-r--r--gold/icf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/icf.h b/gold/icf.h
index c1db8e5..27bbbba 100644
--- a/gold/icf.h
+++ b/gold/icf.h
@@ -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()));
}