X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gold%2Farm.cc;h=ec8b89d2f30b01847ea0913fe15f2f091eaf8f30;hb=61163dfaaedb90d78e11c1d79ad1e469daf3da47;hp=9812c8888fc869e4d9b65dcd6c40680da930ff2a;hpb=58d2eda55ca5aea4fa2dcaf3bb2fff4525b236d0;p=external%2Fbinutils.git diff --git a/gold/arm.cc b/gold/arm.cc index 9812c88..ec8b89d 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -6255,16 +6255,9 @@ Arm_relobj::scan_section_for_cortex_a8_erratum( this->mapping_symbols_info_.lower_bound(section_start); // There are no mapping symbols for this section. Treat it as a data-only - // section. Issue a warning if section is marked as containing - // instructions. + // section. if (p == this->mapping_symbols_info_.end() || p->first.first != shndx) - { - if ((this->section_flags(shndx) & elfcpp::SHF_EXECINSTR) != 0) - gold_warning(_("cannot scan executable section %u of %s for Cortex-A8 " - "erratum because it has no mapping symbols."), - shndx, this->name().c_str()); - return; - } + return; Arm_address output_address = this->simple_input_section_output_address(shndx, os);