summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/Include/Library/MmSaveStateLib.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-09-16 18:39:35 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-18 02:17:26 +0000
commit170fa8ecd4bc5acb704400c5610365acff6a78e8 (patch)
tree39e65c672131a74efdd181bfcc7307bcc6b893bd /UefiCpuPkg/Include/Library/MmSaveStateLib.h
parent779642283a604370cef87fcd9bf730425f519147 (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
BaseTools/tools_def ARM: Disable stack protector with CLANGDWARFHEADmaster
Clang insists on emitting a movt/movw pair into the function pro/epilogues to load the stack protector reference value from memory, and this movt/movw pair may turn out non-consecutively in the instruction stream. The resulting symbol reference cannot be fixed up by GenFw, as PE/COFF always treats movt/movw as a pair, and the ELF-to-PE conversion will therefore fail. Just disable the stack protector when using CLANGDWARF. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'UefiCpuPkg/Include/Library/MmSaveStateLib.h')
0 files changed, 0 insertions, 0 deletions