aboutsummaryrefslogtreecommitdiff
path: root/gold/gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/gc.h')
-rw-r--r--gold/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gc.h b/gold/gc.h
index 8cc7767..757a33d 100644
--- a/gold/gc.h
+++ b/gold/gc.h
@@ -163,7 +163,7 @@ gc_process_relocs(
std::vector<std::pair<long long, long long> >* addendvec = NULL;
bool is_icf_tracked = false;
- if (parameters->options().icf()
+ if (parameters->options().icf_enabled()
&& is_prefix_of(".text.", (src_obj)->section_name(src_indx).c_str()))
{
is_icf_tracked = true;