RISC-V: Select GENERIC_UCMPDI2 on RV32I
authorZong Li <zong@andestech.com>
Mon, 25 Jun 2018 08:49:38 +0000 (16:49 +0800)
committerPalmer Dabbelt <palmer@sifive.com>
Wed, 4 Jul 2018 20:53:33 +0000 (13:53 -0700)
On 32-bit, it need to use __ucmpdi2, otherwise, it can't find the __ucmpdi2
symbol.

Signed-off-by: Zong Li <zong@andestech.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/Kconfig

index f12680c9b9475e2b130da3369644e797575f7a80..4764fdeb4f1f6837c771e42f9e84ca5bd8291af6 100644 (file)
@@ -107,6 +107,7 @@ config ARCH_RV32I
        select GENERIC_LIB_ASHLDI3
        select GENERIC_LIB_ASHRDI3
        select GENERIC_LIB_LSHRDI3
+       select GENERIC_LIB_UCMPDI2
 
 config ARCH_RV64I
        bool "RV64I"