xtensa: don't link with libgcc
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Oct 2021 12:38:06 +0000 (05:38 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 9 Mar 2022 22:03:23 +0000 (14:03 -0800)
commit19c5699f9affbd6824f4db0e19fcdc9d609a5e6b
treef396d452c899213ff8972b97ac3db6f94042ac6d
parentdbf4ed894c0fd85d421f7b3b9758ce95398d2925
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>
arch/xtensa/Kconfig
arch/xtensa/Makefile
arch/xtensa/kernel/xtensa_ksyms.c