mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Disable context functions for Thumb
They're written in ARM dialect, and `ldmia r14, {r14, pc}` is not accepted in T2 encoding. GCC8 changed the list of multilibs for arm-*, which now includes a variant with CPU that supports T2 but not A1 encoding. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
b24431f477
commit
57679b5e61
@ -96,6 +96,7 @@ CT_DoArchUClibcCflags() {
|
||||
case "${f}" in
|
||||
-mthumb)
|
||||
CT_KconfigEnableOption "COMPILE_IN_THUMB_MODE" "${cfg}"
|
||||
CT_KconfigDisableOption "UCLIBC_HAS_CONTEXT_FUNCS" "${cfg}"
|
||||
;;
|
||||
-marm)
|
||||
CT_KconfigDisableOption "COMPILE_IN_THUMB_MODE" "${cfg}"
|
||||
|
Loading…
Reference in New Issue
Block a user