update glibc-Sync-to-lnd-35-for-LoongArch.patch.

修改LoongArch构建错误:添加@order glibc.gmon.minarcs 和@order glibc.gmon.maxarcs两个tunable变量.

Signed-off-by: ticat_fp <fanpeng@loongson.cn>
This commit is contained in:
ticat_fp 2024-01-03 08:51:07 +00:00 committed by Zhao Hang
parent 91e142ca44
commit b8a17c7e3e

View file

@ -20732,7 +20732,7 @@ new file mode 100644
index 00000000..c8f9793e
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/loongarch/dl-tunables.list
@@ -0,0 +1,27 @@
@@ -0,0 +1,29 @@
+# Order of tunables in RHEL 8.7.0.
+@order glibc.rtld.nns
+@order glibc.elision.skip_lock_after_retries
@ -20760,6 +20760,8 @@ index 00000000..c8f9793e
+# Tunables added in RHEL 8.8.0
+@order glibc.rtld.dynamic_sort
+
+@order glibc.gmon.minarcs
+@order glibc.gmon.maxarcs
diff --git a/sysdeps/unix/sysv/linux/loongarch/getcontext.S b/sysdeps/unix/sysv/linux/loongarch/getcontext.S
new file mode 100644
index 00000000..9c28d958