diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-17 04:49:07 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-17 04:49:07 +0000 |
commit | f7bef78cc0843b2bd827cca76eba8f629bb79bf3 (patch) | |
tree | a565e8d757e50af2de1868d843180b0523ef2fa1 /UnixPkg/Sec | |
parent | 0d10bfc88a7cb9683cac6016ef1c11b5c8370bf3 (diff) | |
download | edk2-platforms-f7bef78cc0843b2bd827cca76eba8f629bb79bf3.tar.xz |
update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8112 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Sec')
-rw-r--r-- | UnixPkg/Sec/SecMain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/Sec/SecMain.c b/UnixPkg/Sec/SecMain.c index b5f6092519..ffeed21e75 100644 --- a/UnixPkg/Sec/SecMain.c +++ b/UnixPkg/Sec/SecMain.c @@ -751,7 +751,7 @@ Returns: // // Align buffer on section boundry // - ImageContext.ImageAddress += ImageContext.SectionAlignment; + ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1); |