diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-17 04:48:48 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-17 04:48:48 +0000 |
commit | 0d10bfc88a7cb9683cac6016ef1c11b5c8370bf3 (patch) | |
tree | 2a538b2f9cd9cdee67748c572c38c5b2d6b5b601 /Nt32Pkg | |
parent | 023c0fec45af116afde4c9df7d5041df8c835586 (diff) | |
download | edk2-0d10bfc88a7cb9683cac6016ef1c11b5c8370bf3.zip edk2-0d10bfc88a7cb9683cac6016ef1c11b5c8370bf3.tar.gz edk2-0d10bfc88a7cb9683cac6016ef1c11b5c8370bf3.tar.bz2 |
update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8111 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg')
-rw-r--r-- | Nt32Pkg/Sec/SecMain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c index 7eac24a..120a7f8 100644 --- a/Nt32Pkg/Sec/SecMain.c +++ b/Nt32Pkg/Sec/SecMain.c @@ -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);
|