This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b023cd59d6cc788766825b0d06ad9dd19abfaa1b Author: hujun5 <[email protected]> AuthorDate: Wed Nov 25 08:57:27 2026 +0800 arch/arm: protect PIC code from assembly protect PIC code from assembly Signed-off-by: hujun5 <[email protected]> --- arch/arm/include/arch.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/arch.h b/arch/arm/include/arch.h index 55be62554bc..827a0879444 100644 --- a/arch/arm/include/arch.h +++ b/arch/arm/include/arch.h @@ -51,6 +51,7 @@ * Pre-processor Prototypes ****************************************************************************/ +#ifndef __ASSEMBLY__ #ifdef CONFIG_PIC /* This identifies the register that is used by the processor as the PIC base @@ -129,6 +130,7 @@ static inline void up_fdpic_invoke(uintptr_t arg, uintptr_t entry, #endif /* CONFIG_FDPIC */ #endif /* CONFIG_PIC */ +#endif /* __ASSEMBLY__ */ #ifdef CONFIG_ARCH_ADDRENV #if CONFIG_MM_PGSIZE != 4096
