diff options
author | Alex Guo <xfguo@jlsemi.com> | 2018-07-29 03:14:47 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-08-13 17:31:30 +0200 |
commit | a89757daf25cfe5320a5f40773271d86e2456c10 (patch) | |
tree | f9b2fde77d6093253ae8b73be93530486e6c8781 /arch/riscv/Makefile | |
parent | RISC-V: Use KBUILD_CFLAGS instead of KCFLAGS when building the vDSO (diff) | |
download | linux-a89757daf25cfe5320a5f40773271d86e2456c10.tar.xz linux-a89757daf25cfe5320a5f40773271d86e2456c10.zip |
RISC-V: implement __lshrti3.
Signed-off-by: Alex Guo <xfguo@jlsemi.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/Makefile')
-rw-r--r-- | arch/riscv/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 6d4a5f6c3f4f..1f536a7784aa 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -26,6 +26,9 @@ ifeq ($(CONFIG_ARCH_RV64I),y) KBUILD_CFLAGS += -mabi=lp64 KBUILD_AFLAGS += -mabi=lp64 + + KBUILD_CFLAGS += $(call cc-ifversion, -ge, 0500, -DCONFIG_ARCH_SUPPORTS_INT128) + KBUILD_MARCH = rv64im LDFLAGS += -melf64lriscv else |