]> git.baikalelectronics.ru Git - kernel.git/commit
lib: Add shared copies of some GCC library routines
authorPalmer Dabbelt <palmer@dabbelt.com>
Tue, 23 May 2017 17:28:26 +0000 (10:28 -0700)
committerPalmer Dabbelt <palmer@dabbelt.com>
Mon, 25 Sep 2017 22:50:57 +0000 (15:50 -0700)
commit2c37b234856b6705096b101515491a215ad68f0e
tree850f9dc5181db9eb022fefa84ba6e9425fb0bbf3
parent61003aee98457cb8e112aaedd841a74cb908842f
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>
include/lib/libgcc.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/ashldi3.c [new file with mode: 0644]
lib/ashrdi3.c [new file with mode: 0644]
lib/cmpdi2.c [new file with mode: 0644]
lib/lshrdi3.c [new file with mode: 0644]
lib/muldi3.c [new file with mode: 0644]
lib/ucmpdi2.c [new file with mode: 0644]