diff options
author | Martin Hofmann <martin.hofmann@mni.thm.de> | 2019-01-05 19:45:12 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-07 08:42:56 +0100 |
commit | a8c86dd239154ed4c5b3a7e67fdd6822a96d75f4 (patch) | |
tree | 0df9c155923e4add88ee4bd7e5e9c43051918b8c /include | |
parent | d80179baf828c8086edf68fa83ff67ab93d9a638 (diff) | |
download | barebox-a8c86dd239154ed4c5b3a7e67fdd6822a96d75f4.tar.gz barebox-a8c86dd239154ed4c5b3a7e67fdd6822a96d75f4.tar.xz |
Add generic implementation for muldi3
Since version v2018.08.0 some shared copies of gcc routines got added to
barebox so that archs don't need to have their own copy inside their
lib. The arch I am working on atm also needs support for muldi3 which is
not present as a generic version right now.
This patch adds the generic version from latest linux v4.20 to barebox
and lets the archs select it in their Kconfig so they don't need to
provide it themself.
Signed-off-by: Martin Hofmann <martin.hofmann_at_mni.thm.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/libgcc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lib/libgcc.h b/include/lib/libgcc.h index adad27704a..f7b9be61f6 100644 --- a/include/lib/libgcc.h +++ b/include/lib/libgcc.h @@ -43,5 +43,6 @@ typedef union { long long __lshrdi3(long long u, word_type b); long long __ashldi3(long long u, word_type b); long long __ashrdi3(long long u, word_type b); +long long __muldi3(long long u, long long v); #endif /* __ASM_LIBGCC_H */ |