toolchain: don't define __stack outside C code
__stack is defined as a C language attribute for on-stack arrays. Don't define it outside C source code. This definition conflicts with __stack symbol defined in xtensa linker.ld files. Change-Id: I59fe34603bc2bb5732ed45c7974de5f8b25d77ed Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
c8112aaeec
commit
5c6276da72
|
@ -97,7 +97,9 @@
|
|||
|
||||
/* Indicate that an array will be used for stack space. */
|
||||
|
||||
#define __stack __aligned(STACK_ALIGN)
|
||||
#if !defined(_ASMLANGUAGE)
|
||||
#define __stack __aligned(STACK_ALIGN)
|
||||
#endif
|
||||
|
||||
/* concatenate the values of the arguments into one */
|
||||
#define _DO_CONCAT(x, y) x ## y
|
||||
|
|
Loading…
Reference in New Issue