This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[RFC v2 12/20] 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: arnd at arndb dot de, adhemerval dot zanella at linaro dot org, fweimer at redhat dot com, palmer at sifive dot com, macro at wdc dot com, zongbox at gmail dot com, zong at andestech dot com, alistair dot francis at wdc dot com, alistair23 at gmail dot com
- Date: Mon, 24 Jun 2019 17:09:20 -0700
- Subject: [RFC v2 12/20] RISC-V: Support dynamic loader for the 32-bit
- Ironport-sdr: dnMaxew31OejVVWTCx/2rBK/vvgkbHCM5NyhU86a1clDmm2oQrsfZ3XbcxFh4XuMAgBPG5TkNz 80o6NeleBfA0iuAHEyCWjQqg7PlCzbTvBTTLZCMz26I63FAI810V/77Y3mQhKuDcyGxylUT9a9 /ehEwIMFOWPYvdcn7tVndCQk87vG2B9lZ6HfKik/XEAlXU2zHkULF0kbyah1B0g+glSbfSU1E3 gyLS13oDs+Cz+fl+NU1/cbjEYs3pg5kDgwNR9x1KkVOoh+y1QfQorP5qI9gZ34x85FD3MaTXd/ k3u0qcl71H4qIqflOzAi6iCw
- Ironport-sdr: iiji3C8D/RJhRZgFzuPf8xZLB1lfMWM+JnZiWQTCDz/7SKEtSl+L0lyDjXi8PkO6LfRkRMlorm H4D95YyeKQk5DNaHUGpVXjxGvmVnQe2Vgp7ukEfZN4eax9XRSjpk6ERJ5ECT8DYWc37e4U/wM1 rk0C6soJygt6ug8jWmh2TewPz1lhTRn1oE02NykzWsENmPtPduLGZRXf1EM3ncHGfjkIl8w5Sd IUSnQknIQCF/xa3jv0/PwmhkQAEh8IL06wvH/LmAtIKFRGAqNYmq4ap1cBOL6LZubDwj/Xz87D wno=
- References: <cover.1561421042.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