[GOLD][PATCH] Do not scan merged sections for stubs.
Ian Lance Taylor
iant@google.com
Sat Feb 6 01:58:00 GMT 2010
"Doug Kwan (關振德)" <dougkwan@google.com> writes:
> 2010-02-05 Doug Kwan <dougkwan@google.com>
>
> PR 11247
> * arm.cc (Arm_relobj::section_is_scannable): New method.
> (Arm_relobj::section_needs_reloc_stub_scanning): Use it.
> (Arm_relobj::section_needs_cortex_a8_stub_scanning): Same.
> + // If this requires special offset handling, check to see if it is
> + // a relaxed section. If this is not, then it is a merged section that
> + // we cannot handle.
> + if (this->output_section_offset(shndx) == static_cast<uint64_t>(-1))
Change this to this->is_output_section_offset_invalid(shndx).
This is OK with that change.
Thanks.
Ian
More information about the Binutils
mailing list