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] Avoid generating .ARM.attributes section in output if merging none from input.


Hi Ian,

    This patch fixes a problem during kernel build.  The kernel
building process uses ld -r multiple times and it sometimes produces
intermediate objects with no code and data.  Previously we emitted an
empty .ARM.attributes section with all default values and set the EABI
version to unknown.  That caused the objects to be considered not
empty and the EABI version info and attributes merged.  We should
ignore such objects like ld.

-Doug

2010-06-15  Doug Kwan  <dougkwan@google.com>

	* arm.cc (Target_arm::do_finalize_sections): Do not emit an
	.ARM.attributes section if we have not merged any input
	attributes sections.

Attachment: patch-no-attributes.txt
Description: Text document


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