ARC: MWDT: drop redundant stack checking
MWDT toolchain has Stackcheck_alloca option enabled by default. So it adds stack checking in addition to Zephyr's stack checking. As it is completely redundant let's drop it. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
parent
75b9292a30
commit
9b0ef4f19a
2 changed files with 3 additions and 12 deletions
|
@ -206,16 +206,6 @@ SECTIONS {
|
|||
__kernel_ram_end = .;
|
||||
__kernel_ram_size = __kernel_ram_end - __kernel_ram_start;
|
||||
|
||||
#ifdef __MWDT_LINKER_CMD__
|
||||
/* mwdt requires _fstack, _estack which will be used in _stkchk.
|
||||
* _stkchk is inserted by mwdt automatically, if _fstack, _estack is not
|
||||
* set correctly, the brk_s instruction will be called
|
||||
* here, we use a trick to deceive the compiler.
|
||||
*/
|
||||
_fstack = _image_ram_start;
|
||||
_estack = .;
|
||||
#endif /* __MWDT_LINKER_CMD__ */
|
||||
|
||||
GROUP_END(RAMABLE_REGION)
|
||||
|
||||
/* Located in generated directory. This file is populated by the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue