diff options
author | Pedro Falcato <pedro.falcato@gmail.com> | 2022-12-17 03:50:20 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-12-30 03:31:51 +0000 |
commit | c5d68ef6e7553ab2894f541eba4e982428ecbd53 (patch) | |
tree | a84eaf56c6085d2c9cfcf7a4b0d256389788421a /EmulatorPkg/Sec/X64 | |
parent | a086f4a63bc0295b0b02f8ee76381c6b437122bf (diff) | |
download | edk2-c5d68ef6e7553ab2894f541eba4e982428ecbd53.tar.gz edk2-c5d68ef6e7553ab2894f541eba4e982428ecbd53.tar.bz2 edk2-c5d68ef6e7553ab2894f541eba4e982428ecbd53.zip |
BaseTools: Fix IA32 UINT64 alignment for CLANG toolchains
Currently, UINT64 is not 8-byte aligned for CLANG* toolchains on IA32,
which causes ABI differences between IA32 and X64 in such simple examples as:
struct S {UINT32 A; UINT64 B;};
Pass -malign-double to align it to 8 bytes, as is done for GCC already.
Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Cc: Marvin H?user <mhaeuser@posteo.de>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'EmulatorPkg/Sec/X64')
0 files changed, 0 insertions, 0 deletions