From: Zong Li <zongbox@gmail.com>
To: palmer@sifive.com, aou@eecs.berkeley.edu
Cc: hch@infradead.org, zong@andestech.com,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
Zong Li <zongbox@gmail.com>
Subject: [PATCH v4 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32
Date: Wed, 3 Oct 2018 11:10:01 +0800 [thread overview]
Message-ID: <b87900141b3ee65e639bb8a0278a2acd7fced103.1538535528.git.zongbox@gmail.com> (raw)
In-Reply-To: <cover.1538535527.git.zongbox@gmail.com>
On RV32, it will use the __umoddi3. Select GENERIC_LIB_UMODDI3 to avoid
undefined reference.
Signed-off-by: Zong Li <zong@andestech.com>
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a344980..dc262fa 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -108,6 +108,7 @@ config ARCH_RV32I
select GENERIC_LIB_ASHRDI3
select GENERIC_LIB_LSHRDI3
select GENERIC_LIB_UCMPDI2
+ select GENERIC_LIB_UMODDI3
config ARCH_RV64I
bool "RV64I"
--
2.7.4
next prev parent reply other threads:[~2018-10-03 3:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-03 3:09 [PATCH v4 0/5] Fix some bugs on RV32 build fail and issue Zong Li
2018-10-03 3:09 ` [PATCH v4 1/5] RISC-V: Build tishift only on 64-bit Zong Li
2018-10-03 3:09 ` [PATCH v4 2/5] RISC-V: Add preprocessor directive for swiotlb Zong Li
2018-10-03 3:10 ` [PATCH v4 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines Zong Li
2018-10-03 3:10 ` Zong Li [this message]
2018-10-03 3:10 ` [PATCH v4 5/5] RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap Zong Li
2018-10-15 12:33 ` [PATCH v4 0/5] Fix some bugs on RV32 build fail and issue Zong Li
2018-10-15 23:16 ` Palmer Dabbelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b87900141b3ee65e639bb8a0278a2acd7fced103.1538535528.git.zongbox@gmail.com \
--to=zongbox@gmail.com \
--cc=aou@eecs.berkeley.edu \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@sifive.com \
--cc=zong@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).