toolchain: add macro FUNC_NO_STACK_PROTECTOR
This provides a macro to disable stack protector for a function,
by specifying a function attribute. This is useful for boot
and early init code where we know for sure stack pointer and/or
stack content are being manipulated manually.
Signed-off-by:
Daniel Leung <daniel.leung@intel.com>
Loading
Please sign in to comment