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]

[patch]: make idata$4 and .idata$5 more compliant to coff spec


Hi,

this patch cleans up an unnecessary spec violation for coff. For each
import library linked into an executable there are leading zero
elements added to idata$4 and idata$5. By this patch those elements
aren't wrote anymore. I tested it for arm-mingwce, x86_64-pc-mingw32
and for i686-pc-mingw32 without seeing any regressions.

ChangeLog for binutils

2009-01-01  Kai Tietz  <kai.tietz@onevision.com>

	* dlltool.c (make_head): Don't write out zero elements at
	start of initial idata$4 and idata$5.

ChangeLog for ld

2009-01-01  Kai Tietz  <kai.tietz@onevision.com>

	* pe-dll.c (make_head):  Don't write out zero elements at
	start of initial idata$4 and idata$5.
	(make_import_fixup_entry): Likewise.

Is this patch ok for apply?

Cheers,
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: ld_idata.txt
Description: Text document


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