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] |
Hi, This fixes a problem in which gold crash when there are no regular objects in input. In stead of crashing, this patch causes an empty object to be created if there is no error. This is the same behaviour of ld. It also fixes a problem in ARM exidx coverage fix-up. We need to recount the local symbols in an object if one of the EXIDX section is discarded due to ICF of its associated text section. -Doug 2010-04-14 Doug Kwan <dougkwan@google.com> * arm.cc (Arm_output_section::fix_exidx_coverage): Mark object for local symbol recounting if we remove a section due to ICF. * gold.cc (queue_middle_gc_tasks): Create a dummy blocker if there are no regular objects in input.
Attachment:
patch-no-objects.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |