git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8111 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-04-17 04:48:48 +00:00
parent 023c0fec45
commit 0d10bfc88a
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ Returns:
//
// Align buffer on section boundry
//
ImageContext.ImageAddress += ImageContext.SectionAlignment;
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
Status = PeCoffLoaderLoadImage (&ImageContext);