Stack guard syntax
I’m trying to set a safe stack guard for stack.
I tried for example with or with out the ?
GUARD_SIZE = DEFINED(guard_size) ? guard_size:0x00000100;
.guard:
{
.=ALIGN(8);
FILL(0xC0DE);
.+=GUARD_SIZE-1;
BYTE(0xE)
}>m_data
But the ac6 tool chain linker in .ld file report it as an error.
Where can I find the right syntax for stack guard.
Elik