about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZong Li <zongbox@gmail.com>2018-11-30 17:14:35 +0800
committerAlistair Francis <alistair.francis@wdc.com>2020-08-27 08:17:42 -0700
commit8041759aefa08f01885f50d642e3c43c0cfd5243 (patch)
tree29f4096ad2cc63ca721358bb0fd157d7cf2ec835
parent68efae739a3eae514dafb52c42d5e3295fd13903 (diff)
downloadglibc-8041759aefa08f01885f50d642e3c43c0cfd5243.tar.gz
glibc-8041759aefa08f01885f50d642e3c43c0cfd5243.tar.xz
glibc-8041759aefa08f01885f50d642e3c43c0cfd5243.zip
RISC-V: Support dynamic loader for the 32-bit
Add the LD_SO_ABI definition for RISC-V 32-bit.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
-rw-r--r--sysdeps/unix/sysv/linux/riscv/ldconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/ldconfig.h b/sysdeps/unix/sysv/linux/riscv/ldconfig.h
index 3d7065b293..35badb7cf0 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				\