[glibc/alistair/rv32.wip] RISC-V: Support dynamic loader for the 32-bit
Alistair Francis
alistair23@sourceware.org
Fri Jan 17 05:57:00 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=240af3037cb38a904f9b9624611bc295cb3dc95a
commit 240af3037cb38a904f9b9624611bc295cb3dc95a
Author: Zong Li <zongbox@gmail.com>
Date: Fri Nov 30 17:14:35 2018 +0800
RISC-V: Support dynamic loader for the 32-bit
Add the LD_SO_ABI definition for RISC-V 32-bit.
Diff:
---
sysdeps/unix/sysv/linux/riscv/ldconfig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/riscv/ldconfig.h b/sysdeps/unix/sysv/linux/riscv/ldconfig.h
index 3d7065b..35badb7 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 \
More information about the Glibc-cvs
mailing list