about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZong Li <zong.li@sifive.com>2019-09-09 21:35:50 -0700
committerAlistair Francis <alistair.francis@wdc.com>2020-04-25 19:16:15 -0700
commitdaecde01f172754617e23fe399fc57e12c97c6a9 (patch)
treec08f72dd5cb74cc25cab768bd1925b6d38d38882
parent376aa9d4274782a2aa99efb6282af93135abae8b (diff)
downloadglibc-daecde01f172754617e23fe399fc57e12c97c6a9.tar.gz
glibc-daecde01f172754617e23fe399fc57e12c97c6a9.tar.xz
glibc-daecde01f172754617e23fe399fc57e12c97c6a9.zip
RISC-V: Add rv32 path to RTLDLIST in ldd
-rw-r--r--sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed b/sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed
index 377a9c6ef4..bc0c4f51a1 100644
--- a/sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed
+++ b/sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed
@@ -1 +1 @@
-s_^\(RTLDLIST=\)\(.*lib/\)\(ld-linux\)-\(riscv64\)-\(lp64\)\(d*\)\(\.so\.[0-9.]*\)_\1"\2\3-\4-\5\7 \2\3-\4-\5d\7"_
+s_^\(RTLDLIST=\)\(.*lib\)\(/[^/]*\)\(64\|32\)\(-.*\)\(lp\)\(64\|32\)\(d*\)\(\.so\.[0-9.]*\)[  	]*$_\1"\2\364-\664\9 \2\364-\664\8\9 \2\332-i\632\9 \2\332-i\632\8\9"_