mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
This commit is contained in:
parent
c98cfe4aa6
commit
b35cd9884f
9 changed files with 353 additions and 0 deletions
18
lib/Kconfig
18
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue