mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
arch/arm: guard .thumb_func use
This guards use of .thumb_func with ARM_THUBM kconfig so that CONFIG_ARM_THUMB can be off for cases like qemu-armv7r:pnsh Signed-off-by: Yanfeng Liu <p-liuyanfeng9@xiaomi.com>
This commit is contained in:
@@ -68,10 +68,12 @@
|
||||
****************************************************************************/
|
||||
|
||||
.text
|
||||
#ifdef __ghs__
|
||||
#ifdef CONFIG_ARM_THUMB
|
||||
# ifdef __ghs__
|
||||
.thumb
|
||||
#else
|
||||
# else
|
||||
.thumb_func
|
||||
# endif
|
||||
#endif
|
||||
.globl up_signal_handler
|
||||
#ifdef __ghs__
|
||||
|
||||
Reference in New Issue
Block a user