]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
RISC-V: Support dynamic loader for the 32-bit
authorZong Li <zongbox@gmail.com>
Fri, 30 Nov 2018 09:14:35 +0000 (17:14 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 27 Aug 2020 15:17:42 +0000 (08:17 -0700)
Add the LD_SO_ABI definition for RISC-V 32-bit.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
sysdeps/unix/sysv/linux/riscv/ldconfig.h

index 3d7065b2931a7e6da7e489c514def28434ac0ad8..35badb7cf0fdd7b6d69748837f6f8b74e48bb468 100644 (file)
@@ -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                         \