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

View File

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