summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorPalmer Dabbelt2017-05-23 19:28:26 +0200
committerPalmer Dabbelt2017-09-26 00:50:57 +0200
commitb35cd9884fa5d81c9d5e7f57c9d03264ae2bd835 (patch)
tree850f9dc5181db9eb022fefa84ba6e9425fb0bbf3 /lib/Kconfig
parentMAINTAINERS: Add RISC-V (diff)
downloadkernel-qcow2-linux-b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835.tar.gz
kernel-qcow2-linux-b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835.tar.xz
kernel-qcow2-linux-b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835.zip
lib: Add shared copies of some GCC library routines
Many ports (m32r, microblaze, mips, parisc, score, and sparc) use functionally identical copies of various GCC library routine files, which came up as we were submitting the RISC-V port (which also uses some of these). This patch adds a new copy of these library routine files, which are functionally identical to the various other copies. These are availiable via Kconfig as CONFIG_GENERIC_$ROUTINE, which currently isn't used anywhere. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index b1445b22a6de..a2b6745324ab 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -587,3 +587,21 @@ config STRING_SELFTEST
bool "Test string functions"
endmenu
+
+config GENERIC_ASHLDI3
+ bool
+
+config GENERIC_ASHRDI3
+ bool
+
+config GENERIC_LSHRDI3
+ bool
+
+config GENERIC_MULDI3
+ bool
+
+config GENERIC_CMPDI2
+ bool
+
+config GENERIC_UCMPDI2
+ bool