This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 02/12] RISC-V: Add dynamic loader for the 32 bit
- From: Zong Li <zong at andestech dot com>
- To: <joseph at codesourcery dot com>, <palmer at dabbelt dot com>, <darius at bluespec dot com>, <andrew at sifive dot com>, <dj at redhat dot com>, <rth at twiddle dot net>, <libc-alpha at sourceware dot org>
- Cc: <rth7680 at gmail dot com>, <zongbox at gmail dot com>, Zong Li <zong at andestech dot com>
- Date: Tue, 17 Jul 2018 13:07:48 +0800
- Subject: [PATCH v2 02/12] RISC-V: Add dynamic loader for the 32 bit
- References: <cover.1531801545.git.zong@andestech.com>
Add the LD_SO_ABI definition of the 32 bit RISC-V
---
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 0ca798a..088c201 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 \
--
2.7.4