From: Zong Li Date: Fri, 30 Nov 2018 09:14:35 +0000 (+0800) Subject: RISC-V: Support dynamic loader for the 32-bit X-Git-Tag: glibc-2.33~537 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8041759aefa08f01885f50d642e3c43c0cfd5243;p=thirdparty%2Fglibc.git RISC-V: Support dynamic loader for the 32-bit Add the LD_SO_ABI definition for RISC-V 32-bit. Reviewed-by: Maciej W. Rozycki --- diff --git a/sysdeps/unix/sysv/linux/riscv/ldconfig.h b/sysdeps/unix/sysv/linux/riscv/ldconfig.h index 3d7065b2931..35badb7cf0f 100644 --- a/sysdeps/unix/sysv/linux/riscv/ldconfig.h +++ b/sysdeps/unix/sysv/linux/riscv/ldconfig.h @@ -24,7 +24,7 @@ #if __riscv_xlen == 64 # define LD_SO_ABI "riscv64-lp64" #else -# error "rv32i-based targets are not supported" +# define LD_SO_ABI "riscv32-ilp32" #endif #define SYSDEP_KNOWN_INTERPRETER_NAMES \