toolchain: make clang happy with inline asm

clang did not like %p on x86, make it use %c.

Did not explore why this is happening..

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-04-17 07:36:31 -04:00
parent 808dd9e684
commit efebf3fb64

View File

@ -415,7 +415,7 @@ do { \
#define GEN_ABSOLUTE_SYM(name, value) \
__asm__(".globl\t" #name "\n\t.equ\t" #name \
",%p0" \
",%c0" \
"\n\t.type\t" #name ",@object" : : "n"(value))
#elif defined(CONFIG_ARC) || defined(CONFIG_ARM64)