Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-10-18 14:29:27 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2022-03-10 01:02:40 +0300
commitdbf4ed894c0fd85d421f7b3b9758ce95398d2925 (patch)
treebe741f6adb095349d4128f0b792a5b5637ab53b5 /arch/xtensa/lib/Makefile
parent8c9ab55c0fbdc76cb876140c2dad75a610bb23ef (diff)
xtensa: add helpers for division, remainder and shifts
Don't rely on libgcc presence, build own versions of the helpers with correct ABI. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/lib/Makefile')
-rw-r--r--arch/xtensa/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/lib/Makefile b/arch/xtensa/lib/Makefile
index 9437ca51f18a..5848c133f7ea 100644
--- a/arch/xtensa/lib/Makefile
+++ b/arch/xtensa/lib/Makefile
@@ -4,5 +4,7 @@
#
lib-y += memcopy.o memset.o checksum.o \
+ ashldi3.o ashrdi3.o lshrdi3.o \
+ divsi3.o udivsi3.o modsi3.o umodsi3.o mulsi3.o \
usercopy.o strncpy_user.o strnlen_user.o
lib-$(CONFIG_PCI) += pci-auto.o