diff options
author | Alexey Neyman <stilor@att.net> | 2018-06-05 16:38:30 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-06-05 16:38:30 -0700 |
commit | 57679b5e610e488cc6c25b259331cb25d412c771 (patch) | |
tree | a1a083961fc8bf11cc92390a0b333c931c3b83ff /scripts/build/arch | |
parent | b24431f477474033e9adb7d8e158e0a512ba630d (diff) | |
download | crosstool-ng-57679b5e610e488cc6c25b259331cb25d412c771.tar.gz crosstool-ng-57679b5e610e488cc6c25b259331cb25d412c771.tar.bz2 crosstool-ng-57679b5e610e488cc6c25b259331cb25d412c771.zip |
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>
Diffstat (limited to 'scripts/build/arch')
-rw-r--r-- | scripts/build/arch/arm.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh index 7433c926..4873df1a 100644 --- a/scripts/build/arch/arm.sh +++ b/scripts/build/arch/arm.sh @@ -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}" |