Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 170fa8ecd4bc5acb704400c5610365acff6a78e8
https://github.com/tianocore/edk2/commit/170fa8ecd4bc5acb704400c5610365acff6a78e8
Author: Ard Biesheuvel <[email protected]>
Date: 2024-09-18 (Wed, 18 Sep 2024)
Changed paths:
M BaseTools/Conf/tools_def.template
Log Message:
-----------
BaseTools/tools_def ARM: Disable stack protector with CLANGDWARF
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 <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits