diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 9a0064f9a..1b7c21398 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,15 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+
+ 2023-06-20
+
+
+ [xry111] - Patch libelf for LoongArch support.
+
+
+
+
2023-06-17
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 900d310f7..332e3a8e3 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -308,6 +308,10 @@
Pkgconf-&flit-core-version;
+
+ &elfutils-loongarch-patch;
+
+
Flit-core-&flit-core-version;
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index b98484149..dd280e4f6 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -77,6 +77,14 @@
-->
+
+ Elfutils LoongArch Support Patch - &elfutils-loongarch-patch-size;:
+
+ Download:
+ MD5 sum: &elfutils-loongarch-patch-md5;
+
+
+
Glibc FHS Patch - &glibc-fhs-patch-size;:
diff --git a/chapter08/libelf.xml b/chapter08/libelf.xml
index ddc786539..dd3642857 100644
--- a/chapter08/libelf.xml
+++ b/chapter08/libelf.xml
@@ -44,6 +44,11 @@
Libelf is part of the elfutils-&elfutils-version; package. Use
the elfutils-&elfutils-version;.tar.bz2 file as the source tarball.
+ Add LoongArch support for this package:
+
+patch -Np1 -i ../&elfutils-loongarch-patch;
+autoreconf -fi
+
Prepare Libelf for compilation:
./configure --prefix=/usr \
@@ -58,9 +63,6 @@
make check
- 7 tests are known to fail because the support for LoongArch is
- not complete in this Libelf release.
-
Install only Libelf:
make -C libelf install
diff --git a/patches.ent b/patches.ent
index c9d483de5..ba8e783ba 100644
--- a/patches.ent
+++ b/patches.ent
@@ -30,6 +30,9 @@
-->
+
+
+