diff options
Diffstat (limited to 'binutils-2.19/gold/icf.cc')
-rw-r--r-- | binutils-2.19/gold/icf.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils-2.19/gold/icf.cc b/binutils-2.19/gold/icf.cc index 31312bb..09cb1d4 100644 --- a/binutils-2.19/gold/icf.cc +++ b/binutils-2.19/gold/icf.cc @@ -366,7 +366,8 @@ get_section_contents(bool first_iteration, uint64_t secn_flags = (it_v->first)->section_flags(it_v->second); // This reloc points to a merge section. Hash the // contents of this section. - if ((secn_flags & elfcpp::SHF_MERGE) != 0) + if ((secn_flags & elfcpp::SHF_MERGE) != 0 + && parameters->target().can_icf_inline_merge_sections ()) { uint64_t entsize = (it_v->first)->section_entsize(it_v->second); |