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] |
Hello, this patch implements to set correct values to the IAT directory entry in PE's optional header. This field is mainly of interest for driver development on windows and (AFAIK) for wince mobil. I provided this patch some time ago for further enhancements, but now I got also a request to support this feature for x86 & x64 windows binaries. So I reworked patch a bit. As I don't have an arm wince to check this patch, I would like to ask here to get feedback about wince from one of its maintainers. ChangeLog bfd 2010-09-16 Kai Tietz * peXXigen.c (_bfd_XXi_final_link_postscript): Add handling for setting IAT directory entry. ChangeLog ld 2010-09-16 Kai Tietz * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add idata to orphan set. * emultempl/pep.em: Likewise. * scripttempl/armcoff.sc: Separate idata and add __IAT_start__ and __IAT_end__ labels. * scripttempl/pe.sc: Likewise. * scripttempl/pep.sc: Likewise. Tested for x86_64-w64-mingw32, i686-pc-cygwin, i686-pc-mingw32, and roughly for wince-arm target. Ok for apply? Regards, Kai -- |? (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination
Attachment:
IAT_pecoff.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |