From 1c09ae883889fb1be916dab180d18ef2c8bcdfcb Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 11 Jun 2023 01:56:28 +0800 Subject: [PATCH] loongarch: Adapt ld.so symlink creation --- chapter05/glibc.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 92ed339a6..409e210a1 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -43,17 +43,10 @@ Installation of Glibc - First, create a symbolic link for LSB compliance. Additionally, - for x86_64, create a compatibility symbolic link required for proper + Create a compatibility symbolic link required for proper operation of the dynamic library loader: -case $(uname -m) in - i?86) ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3 - ;; - x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64 - ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3 - ;; -esac +ln -sfv ../lib/ld-linux-loongarch-lp64d.so.1 $LFS/lib64