diff mbox series

[v5,14/17] RISC-V: Add rv32 path to RTLDLIST in ldd

Message ID d1c6c960b12e2deaf77dbeebe3d0f0f97ed9a909.1597851293.git.alistair.francis@wdc.com
State New
Headers show
Series glibc port for 32-bit RISC-V (RV32) | expand

Commit Message

Alistair Francis Aug. 19, 2020, 3:39 p.m. UTC
From: Zong Li <zong.li@sifive.com>

---
 sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maciej W. Rozycki Aug. 21, 2020, 11:43 a.m. UTC | #1
On Wed, 19 Aug 2020, Alistair Francis via Libc-alpha wrote:

> From: Zong Li <zong.li@sifive.com>
> 
> ---
>  sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

 LGTM.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>

  Maciej
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed b/sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed
index 377a9c6ef4..09aaf2275d 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\8 \2\364-\664d\8 \2\332-i\632\8 \2\332-i\632d\8"_