diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2021-10-18 14:38:06 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-03-09 23:03:23 +0100 |
commit | 19c5699f9affbd6824f4db0e19fcdc9d609a5e6b (patch) | |
tree | f396d452c899213ff8972b97ac3db6f94042ac6d /arch/xtensa/Kconfig | |
parent | xtensa: add helpers for division, remainder and shifts (diff) | |
download | linux-19c5699f9affbd6824f4db0e19fcdc9d609a5e6b.tar.xz linux-19c5699f9affbd6824f4db0e19fcdc9d609a5e6b.zip |
xtensa: don't link with libgcc
libgcc may be absent or may have different ABI than the kernel. Don't
link with it. Drop declarations and export for helpers that are not
implemented. Use generic versions of DI mode multiplication and
comparisons. Drop register window spilling helper as it should never be
used by the compiler-generated code.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 8ac599aa6d99..b324f6743073 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -20,6 +20,9 @@ config XTENSA select DMA_REMAP if MMU select GENERIC_ATOMIC64 select GENERIC_IRQ_SHOW + select GENERIC_LIB_CMPDI2 + select GENERIC_LIB_MULDI3 + select GENERIC_LIB_UCMPDI2 select GENERIC_PCI_IOMAP select GENERIC_SCHED_CLOCK select HAVE_ARCH_AUDITSYSCALL |