diff mbox series

[2/9] RISC-V: Add dynamic loader for the 32 bit

Message ID 2b754547c46ccdc4e0426c80ec6183773be0db2e.1531384754.git.zong@andestech.com
State New
Headers show
Series RISC-V glibc port for the 32 bit | expand

Commit Message

Zong Li July 12, 2018, 10:26 a.m. UTC
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 mbox series

Patch

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				\