aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZong Li <zongbox@gmail.com>2018-11-30 17:14:35 +0800
committerAlistair Francis <alistair.francis@wdc.com>2020-01-16 14:10:36 -0800
commit240af3037cb38a904f9b9624611bc295cb3dc95a (patch)
tree62eb6ee294b0a15870c738331b3fbeda1402658a
parenta5cdbeedd8f071a579ceb88712f4b5316a7ffcc5 (diff)
downloadglibc-240af3037cb38a904f9b9624611bc295cb3dc95a.tar
glibc-240af3037cb38a904f9b9624611bc295cb3dc95a.tar.gz
glibc-240af3037cb38a904f9b9624611bc295cb3dc95a.tar.bz2
glibc-240af3037cb38a904f9b9624611bc295cb3dc95a.zip
RISC-V: Support dynamic loader for the 32-bit
Add the LD_SO_ABI definition for RISC-V 32-bit.
-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 \