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)
commitb35cd9884fa5d81c9d5e7f57c9d03264ae2bd835
tree850f9dc5181db9eb022fefa84ba6e9425fb0bbf3
parentc98cfe4aa64d3af43323d0d15c81172caba13ce2
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]