Skip to content

Commit

Permalink
CryptoPkg: gcc needs 4k section alignment too
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
kraxel committed Sep 10, 2024
1 parent 970f475 commit a76854a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CryptoPkg/CryptoPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@
<BuildOptions>
MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:4096
MSFT:*_*_X64_DLINK_FLAGS = /ALIGN:4096
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
}
!endif

Expand Down Expand Up @@ -533,6 +534,7 @@
<BuildOptions>
MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:4096
MSFT:*_*_X64_DLINK_FLAGS = /ALIGN:4096
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
}
#
# CryptoSmm with OpensslLib instance with no SSL or EC services
Expand Down Expand Up @@ -586,6 +588,7 @@
<BuildOptions>
MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:4096
MSFT:*_*_X64_DLINK_FLAGS = /ALIGN:4096
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
}
!endif

Expand Down

0 comments on commit a76854a

Please sign in to comment.