This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOLD][PATCH] Do not scan merged sections for stubs.


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]