Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/arm: guard .thumb_func use #15897

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,6 @@ config ARCH_ARMV7R
default n
select ARCH_HAVE_CPUINFO
select ARCH_HAVE_PERF_EVENTS
select ARM_THUMB if BUILD_PROTECTED

config ARCH_CORTEXR4
bool
Expand Down
6 changes: 4 additions & 2 deletions arch/arm/src/common/gnu/arm_signal_handler.S
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
Loading