QcomModulePkg: Enable SafeStack option to bootloader
SafeStack protects against attacks based on stack buffer overflows.
The protections is achieved by seperating the program stack into two,
one is safe stack which stores return addresses, local variables,
register spills, while everything else is stored on unsafe stack.
To enable safe stack for ABL, add the required compilation flags,
allocate unsafe stack and return the unsafe stack pointer to compiler.
CRs-Fixed: 2238349
Change-Id: If3fb73207b2ae0dd45be2d3d407a166876c97889
11 files changed