]> git.proxmox.com Git - mirror_edk2.git/commit - Tools/CCode/Source/FwImage/fwimage.c
1) Simplify implementation by reading the entire input file into memory, modifying...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Sep 2006 18:58:55 +0000 (18:58 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Sep 2006 18:58:55 +0000 (18:58 +0000)
commit3edf127e48050cdab23412c4f3c2d9771f9ed951
treee280fcf61a8ef840a878cec78f1cff9b3230d82b
parent0e84e0d7bdb833343423ac68551d019e8788325a
1) Simplify implementation by reading the entire input file into memory, modifying the buffer in memory, and then writing the entire buffer from memory to the output file.

2) Zero all optional fields in the PE/COFF Optional Header

3) Zero the .pdata section of X64 images that do not have a Debug Directory

4) Strip zero padding at the end of the .reloc section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1565 6f19259b-4bc3-4df7-8a09-765794883524
Tools/Source/TianoTools/FwImage/fwimage.c