diff --git a/include/toolchain/gcc.h b/include/toolchain/gcc.h index ea6a0dd9227..b1213dce8d6 100644 --- a/include/toolchain/gcc.h +++ b/include/toolchain/gcc.h @@ -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)