This is the mail archive of the binutils@sources.redhat.com 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]

Re: [PATCH] PE image checksum



Have you tried this patch?  It looks to me like you're trying to
compute the checksum of the file before the file is even written out
(only the initial header is written at that point).

EXEC_P means that there's an aoutheader.  Use COFF_IMAGE_WITH_PE to
conditionalize code for PE executables.


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