[patch]: make idata$4 and .idata$5 more compliant to coff spec
Kai Tietz
ktietz70@googlemail.com
Thu Jan 1 15:13:00 GMT 2009
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld_idata.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20090101/95dcf021/attachment.txt>
More information about the Binutils
mailing list