mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg modules like ExceptionHandlerAsm.nasm require relocations to .text or PIC as they use instructions like mov or bt against external symbols: 1. mov rax, ASM_PFX(CommonInterruptEntry) 2. mov rax, HookAfterStubHeaderEnd 3. bt [ASM_PFX(mErrorCodeFlag)], ecx 4. mov [rcx + (@VectorNum - HookAfterStubHeaderBegin)], al It is not easily possible to rewrite 3/4 cases without involving more registers or more commands, and EDK II has never targeted read-only .text at load time, only at runtime. Change the defaults to let OVMF compile by CLANGDWARF as per: https://lists.llvm.org/pipermail/llvm-dev/2017-March/111441.html Signed-off-by: Vitaly Cheptsov <cheptsov@ispras.ru> |
||
---|---|---|
.. | ||
XMLSchema | ||
Empty_Package_Information_Data_File.ini | ||
ReadMe.txt | ||
build_rule.template | ||
diff.order | ||
gitattributes | ||
target.template | ||
tools_def.template |
ReadMe.txt
This directory contains the template files for the next generation of the EDK II Build infrastructure. These files will be copied into the WORKSPACE's Conf directory if and only if the target files do not exist. These files may be updated frequently. The XMLSchema directory contains the EDK II Packaging XML definitions. The schema may change in the future. It differs somewhat from the early versions of the XML Schema.