diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-23 10:28:26 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-09-25 15:50:57 -0700 |
commit | b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835 (patch) | |
tree | 850f9dc5181db9eb022fefa84ba6e9425fb0bbf3 /lib/Makefile | |
parent | c98cfe4aa64d3af43323d0d15c81172caba13ce2 (diff) | |
download | lwn-b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835.tar.gz lwn-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/Makefile')
-rw-r--r-- | lib/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index dafa79613fb4..5ad444501f2d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -247,3 +247,11 @@ UBSAN_SANITIZE_ubsan.o := n obj-$(CONFIG_SBITMAP) += sbitmap.o obj-$(CONFIG_PARMAN) += parman.o + +# GCC library routines +obj-$(CONFIG_GENERIC_ASHLDI3) += ashldi3.o +obj-$(CONFIG_GENERIC_ASHRDI3) += ashrdi3.o +obj-$(CONFIG_GENERIC_LSHRDI3) += lshrdi3.o +obj-$(CONFIG_GENERIC_MULDI3) += muldi3.o +obj-$(CONFIG_GENERIC_CMPDI2) += cmpdi2.o +obj-$(CONFIG_GENERIC_UCMPDI2) += ucmpdi2.o |