Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c5d68ef6e7553ab2894f541eba4e982428ecbd53
      
https://github.com/tianocore/edk2/commit/c5d68ef6e7553ab2894f541eba4e982428ecbd53
  Author: Pedro Falcato <pedro.falc...@gmail.com>
  Date:   2022-12-30 (Fri, 30 Dec 2022)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  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.falc...@gmail.com>
Cc: Marvin H?user <mhaeu...@posteo.de>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.f...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to