glibc/sysdeps/unix/sysv/linux/riscv/shlib-versions
Zong Li 72dfddeffc RISC-V: Build infrastructure for 32-bit port
This patch lays out the top-level organisation of the RISC-V 32-bit port.
It provides all the Implies files as well as various other fragments of
the build infrastructure.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
2020-08-27 08:17:43 -07:00

16 lines
445 B
Plaintext

%if RISCV_ABI_XLEN == 64 && RISCV_ABI_FLEN == 64
DEFAULT GLIBC_2.27
ld=ld-linux-riscv64-lp64d.so.1
%elif RISCV_ABI_XLEN == 64 && RISCV_ABI_FLEN == 0
DEFAULT GLIBC_2.27
ld=ld-linux-riscv64-lp64.so.1
%elif RISCV_ABI_XLEN == 32 && RISCV_ABI_FLEN == 64
DEFAULT GLIBC_2.33
ld=ld-linux-riscv32-ilp32d.so.1
%elif RISCV_ABI_XLEN == 32 && RISCV_ABI_FLEN == 0
DEFAULT GLIBC_2.33
ld=ld-linux-riscv32-ilp32.so.1
%else
%error cannot determine ABI
%endif