mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
greenhills: fix the arm_signal_handler.S build error
[asarm] (error #2067) /home/guoshichao/work_profile/vela_os/vela_car_6/nuttx/arch/arm/src/common/gnu/arm_signal_handler.S 35: unknown instruction .syntax unified --^ [asarm] (error #2067) /home/guoshichao/work_profile/vela_os/vela_car_6/nuttx/arch/arm/src/common/gnu/arm_signal_handler.S 70: unknown instruction .thumb_func --^ [asarm] (error #2230) /home/guoshichao/work_profile/vela_os/vela_car_6/nuttx/arch/arm/src/common/gnu/arm_signal_handler.S 72: bad directive .type up_signal_handler , function ----------------------------^ Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
* File info
|
||||
****************************************************************************/
|
||||
|
||||
.syntax unified
|
||||
.file "arm_signal_handler.S"
|
||||
|
||||
/****************************************************************************
|
||||
@@ -67,9 +66,17 @@
|
||||
****************************************************************************/
|
||||
|
||||
.text
|
||||
#ifdef __ghs__
|
||||
.thumb
|
||||
#else
|
||||
.thumb_func
|
||||
#endif
|
||||
.globl up_signal_handler
|
||||
#ifdef __ghs__
|
||||
.type up_signal_handler, $function
|
||||
#else
|
||||
.type up_signal_handler, function
|
||||
#endif
|
||||
up_signal_handler:
|
||||
|
||||
/* Save some register */
|
||||
|
||||
Reference in New Issue
Block a user