This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[RFC v1 08/16] RISC-V: Support dynamic loader for the 32-bit
- From: Alistair Francis <alistair dot francis at wdc dot com>
- To: libc-alpha at sourceware dot org
- Cc: alistair dot francis at wdc dot com, alistair23 at gmail dot com
- Date: Fri, 21 Jun 2019 21:37:33 -0700
- Subject: [RFC v1 08/16] RISC-V: Support dynamic loader for the 32-bit
- Ironport-sdr: cpKam7nLill0cxeD9XKcP9WVrMEWUx23pSjf9cxXaR30JsfT93zxWmyUwQoOf4yIsdXsXlwa7t EOQkZSq9+TUP+fbqwgDo7TN6npnrQlkcXLgflIFfDbuzT5bamx95rHfPmun8JLTXURosHNQBos HWqb4K8qHx/XquIIH018K+qTSfdqgjfW/eWMd+mE1EdJvXGr6/5Ht/3Q+SKz1ptRyJla80ixp3 HJf5/3Xcwm1RcPHWkuJ7nr8dmGma1cm7e3wcAv9YCk67zM5Wpsp4hhfiCBaqjqDg9yXAFkP9Sh /C2ZXZJEa+wsPWnVuBPgR1VA
- Ironport-sdr: weak1mEYmoBY6nS5pyRJRC5GnFjpjk7V+MQwtJwncbADBNH749ym65teRoH9tBXy+KzgtoRqgE MBbnIzuNa+dDHAUvNTZaVQhPj5sDAUc5p1uzVbt5nfo8ky7u39+cxHLxhUSZgXHmzid9SgcKwn G7wmyKTr/OJOR45RYjiaW4gvgcrEiLRniTEmv1S1/rpbdro8ISGqS1bLxzA5fWyL+VYzC+cHbP iJls6v+6hLBNPOQ1RfBlfTh/d6IxaCwgKoYIn7/0FXohAtVvHGuMYjBNT182coCQJEYVIdbjeb Kdc=
- References: <cover.1561177967.git.alistair.francis@wdc.com>
From: Zong Li <zongbox@gmail.com>
Add the LD_SO_ABI definition for RISC-V 32-bit.
2018-11-29 Zong Li <zong@andestech.com>
* sysdeps/unix/sysv/linux/riscv/ldconfig.h (LD_SO_ABI): Support
rv32.
---
ChangeLog | 4 ++++
sysdeps/unix/sysv/linux/riscv/ldconfig.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 9854fb6df7..2a752ae444 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,10 @@
* sysdeps/unix/sysv/linux/riscv/bits/timesize.h: Likewise.
* sysdeps/unix/sysv/linux/riscv/bits/typesizes.h: Likewise.
+2018-06-20 Zong Li <zong@andestech.com>
+
+ * sysdeps/unix/sysv/linux/riscv/ldconfig.h (LD_SO_ABI): Support rv32.
+
2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
Florian Weimer <fweimer@redhat.com>
diff --git a/sysdeps/unix/sysv/linux/riscv/ldconfig.h b/sysdeps/unix/sysv/linux/riscv/ldconfig.h
index 20fbd16c59..360f35fb28 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.22.0