forked from rpms/glibc
c2879fd933
* Thu Jan 13 2022 Florian Weimer <fweimer@redhat.com> - 2.34-18 - Backport optimized ELF dependency sorting algorithm (#2032647) * Thu Jan 13 2022 Florian Weimer <fweimer@redhat.com> - 2.34-17 - Sync with upstream branch release/2.34/master, commit 2fe2af88abd13ae5636881da2e26f461ecb7dfb5 - i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771) - Update syscall lists for Linux 5.15 - powerpc: Fix unrecognized instruction errors with recent GCC - timezone: test-case for BZ #28707 - timezone: handle truncated timezones from tzcode-2021d and later (BZ #28707) - Fix subscript error with odd TZif file [BZ #28338] - AArch64: Check for SVE in ifuncs [BZ #28744] - intl/plural.y: Avoid conflicting declarations of yyerror and yylex - Linux: Fix 32-bit vDSO for clock_gettime on powerpc32 - linux: Add sparck brk implementation - Update sparc libm-test-ulps - Update hppa libm-test-ulps - riscv: align stack before calling _dl_init [BZ #28703] - riscv: align stack in clone [BZ #28702] - powerpc64[le]: Allocate extra stack frame on syscall.S - elf: Fix tst-cpu-features-cpuinfo for KVM guests on some AMD systems [BZ #28704] - nss: Use "files dns" as the default for the hosts database (bug 28700) - arm: Guard ucontext _rtld_global_ro access by SHARED, not PIC macro - mips: increase stack alignment in clone to match the ABI - mips: align stack in clone [BZ #28223] Resolves: #2032647 Resolves: #2033649
50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
commit 0884724a95b60452ad483dbe086d237d02ba624d
|
|
Author: Florian Weimer <fweimer@redhat.com>
|
|
Date: Tue Dec 14 12:37:44 2021 +0100
|
|
|
|
elf: Use new dependency sorting algorithm by default
|
|
|
|
The default has to change eventually, and there are no known failures
|
|
that require a delay.
|
|
|
|
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
|
|
|
diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list
|
|
index 46ffb2378416f90f..ffcd7f18d4fafb91 100644
|
|
--- a/elf/dl-tunables.list
|
|
+++ b/elf/dl-tunables.list
|
|
@@ -162,7 +162,7 @@ glibc {
|
|
type: INT_32
|
|
minval: 1
|
|
maxval: 2
|
|
- default: 1
|
|
+ default: 2
|
|
}
|
|
}
|
|
}
|
|
diff --git a/elf/tst-rtld-list-tunables.exp b/elf/tst-rtld-list-tunables.exp
|
|
index 9bf572715f996ca6..44e4834cfb431633 100644
|
|
--- a/elf/tst-rtld-list-tunables.exp
|
|
+++ b/elf/tst-rtld-list-tunables.exp
|
|
@@ -10,6 +10,6 @@ glibc.malloc.tcache_max: 0x0 (min: 0x0, max: 0x[f]+)
|
|
glibc.malloc.tcache_unsorted_limit: 0x0 (min: 0x0, max: 0x[f]+)
|
|
glibc.malloc.top_pad: 0x0 (min: 0x0, max: 0x[f]+)
|
|
glibc.malloc.trim_threshold: 0x0 (min: 0x0, max: 0x[f]+)
|
|
-glibc.rtld.dynamic_sort: 1 (min: 1, max: 2)
|
|
+glibc.rtld.dynamic_sort: 2 (min: 1, max: 2)
|
|
glibc.rtld.nns: 0x4 (min: 0x1, max: 0x10)
|
|
glibc.rtld.optional_static_tls: 0x200 (min: 0x0, max: 0x[f]+)
|
|
diff --git a/manual/tunables.texi b/manual/tunables.texi
|
|
index 10f4d75993f9940f..7c3b28d029410a6f 100644
|
|
--- a/manual/tunables.texi
|
|
+++ b/manual/tunables.texi
|
|
@@ -318,7 +318,7 @@ value of @samp{2}, a different algorithm is used, which implements a
|
|
topological sort through depth-first search, and does not exhibit the
|
|
performance issues of @samp{1}.
|
|
|
|
-The default value of this tunable is @samp{1}.
|
|
+The default value of this tunable is @samp{2}.
|
|
@end deftp
|
|
|
|
@node Elision Tunables
|