From f7bef78cc0843b2bd827cca76eba8f629bb79bf3 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Fri, 17 Apr 2009 04:49:07 +0000 Subject: update git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8112 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Sec/SecMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UnixPkg/Sec') 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); -- cgit v1.2.3