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]

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


Hi,

    This patch fixes a problem that caused the crash in PR 11247.   I
also moved the code a bit so that the logic to determine what sections
to scan for stubs is shared by
Arm_relobj::section_needs_reloc_stub_scanning and
Arm_relobj::section_needs_cortex_a8_stub_scanning.

-Doug

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.

Attachment: patch-scannable.txt
Description: Text document


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