Re: [PATCH 16/20] RISC-V: add 64-bit support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ahmad,

On Sun, 2021-03-14 at 13:28 +0100, Ahmad Fatoum wrote:
> From: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx>
> […]
>  ifeq ($(CONFIG_ARCH_RV32I),y)
> -	riscv-cflags-y := -march=rv32im -mabi=ilp32
> -	riscv-ldflags-y := -melf32lriscv
> +	riscv-cflags-y += -march=rv32im -mabi=ilp32
> +	riscv-ldflags-y += -melf32lriscv
> +else
> +	riscv-cflags-y += -march=rv64imafd  -mabi=lp64

This should also work with -march=rv64im, we are not using atomics or
floating ops anywhere and should not require this until needed.

> +	riscv-ldflags-y += -melf64lriscv
>  endif
> 

Regards,
Rouven


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux