edk2/MdePkg
Leif Lindholm 3e7e3e2467 MdePkg/AArch64: fix AsmMacroLib signed value handling for MOV32/MOV64
MOV32 and MOV64, defined in AsmMacrolib.h, use a combination of movz and
movk instructions to fill a register with an immediate value. With each
instruction supplying 16 of the bits.

CLANGPDB builds have been reported to fail on the current implementation
when provided with negative values with:
  error: immediate must be an integer in range [0, 65535].

To resolve this, add a mask for the line filling the top 16 bits, like
the other lines already had.

Reported-by: Michael Kubacki <mikuback@linux.microsoft.com>
Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
2025-02-24 16:30:19 +00:00
..
Include MdePkg/AArch64: fix AsmMacroLib signed value handling for MOV32/MOV64 2025-02-24 16:30:19 +00:00
Library MdePkg/DynamicStackCookieEntryPointLib: Drop execute-in-place versions 2025-02-11 20:25:08 +00:00
Test MdePkg: Add Google Mock Library for SafeIntLib 2024-12-11 07:30:17 +00:00
MdeLibs.dsc.inc MdePkg: Add Dynamic Stack Cookie Support 2025-02-07 02:23:11 +00:00
MdePkg.ci.yaml MdePkg: Create Stack Check Null Libs 2024-09-13 03:58:46 +00:00
MdePkg.dec MdePkg: Add StandaloneMmCoreEntryPoint for X64 2025-02-07 02:23:11 +00:00
MdePkg.dsc MdePkg/DynamicStackCookieEntryPointLib: Drop execute-in-place versions 2025-02-11 20:25:08 +00:00
MdePkg.uni MdePkg: Utilize Cache Management Operations Implementation For RISC-V 2023-12-19 12:48:14 +00:00
MdePkgExtra.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00