arch/arm: Remove .cpu directive from assemble file
1.To support the different MCU in series(e.g. cortex-m0+) 2.It's redundant since we already specify in compliler option Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
b7ad0b3d0d
commit
e91a737310
@ -51,8 +51,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
.globl exception_common
|
||||
|
||||
.cpu cortex-m0
|
||||
.file "arm_exception.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -36,7 +36,6 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
.cpu cortex-m0
|
||||
.file "arm_fullcontextrestore.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -36,7 +36,6 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
.cpu cortex-m0
|
||||
.file "arm_saveusercontext.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -32,7 +32,6 @@
|
||||
* File info
|
||||
****************************************************************************/
|
||||
|
||||
.cpu cortex-m0
|
||||
.file "arm_signal_handler.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -36,7 +36,6 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
.cpu cortex-m0
|
||||
.file "arm_switchcontext.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -34,7 +34,6 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
.cpu cortex-m0
|
||||
.file "vfork.S"
|
||||
.globl up_vfork
|
||||
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
.syntax unified
|
||||
.thumb
|
||||
.cpu cortex-m3
|
||||
.file "arm_signal_handler.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -37,12 +37,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
.globl arm_fpuconfig
|
||||
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
.cpu cortex-r4f
|
||||
#else
|
||||
.cpu cortex-r4
|
||||
#endif
|
||||
.file "arm_fpuconfig.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -35,11 +35,6 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
.cpu cortex-r4f
|
||||
#else
|
||||
.cpu cortex-r4
|
||||
#endif
|
||||
.file "arm_fullcontextrestore.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -120,12 +120,6 @@
|
||||
.global arm_data_initialize /* Perform C data initialization */
|
||||
.global g_idle_topstack /* Top of the initial/IDLE stack */
|
||||
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
.cpu cortex-r4f
|
||||
#else
|
||||
.cpu cortex-r4
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: __start
|
||||
****************************************************************************/
|
||||
|
@ -33,12 +33,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
.globl arm_restorefpu
|
||||
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
.cpu cortex-r4f
|
||||
#else
|
||||
.cpu cortex-r4
|
||||
#endif
|
||||
.file "arm_restorefpu.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -33,11 +33,6 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
.cpu cortex-r4f
|
||||
#else
|
||||
.cpu cortex-r4
|
||||
#endif
|
||||
.file "arm_saveusercontext.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -33,11 +33,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
.file "arm_signal_handler.S"
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
.cpu cortex-r4f
|
||||
#else
|
||||
.cpu cortex-r4
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
.syntax unified
|
||||
.thumb
|
||||
.cpu cortex-m3
|
||||
.file "arm_signal_handler.S"
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user