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:
parent
808dd9e684
commit
efebf3fb64
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user