mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Small optimization of dependency sorting
This commit is contained in:
parent
31d3cc00b0
commit
16437fece4
@ -1,3 +1,9 @@
|
||||
2011-10-25 Andreas Schwab <schwab@redhat.com>
|
||||
|
||||
* elf/dl-deps.c (_dl_map_object_deps): Remove always true
|
||||
condition.
|
||||
* elf/dl-fini.c (_dl_sort_fini): Likewise.
|
||||
|
||||
2011-10-25 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
|
||||
|
@ -627,7 +627,7 @@ Filters not supported with LD_TRACE_PRELINKING"));
|
||||
while (1)
|
||||
{
|
||||
/* Keep track of which object we looked at this round. */
|
||||
seen[i] += seen[i] < 2;
|
||||
++seen[i];
|
||||
struct link_map *thisp = l_initfini[i];
|
||||
|
||||
/* Find the last object in the list for which the current one is
|
||||
|
@ -44,7 +44,7 @@ _dl_sort_fini (struct link_map **maps, size_t nmaps, char *used, Lmid_t ns)
|
||||
while (1)
|
||||
{
|
||||
/* Keep track of which object we looked at this round. */
|
||||
seen[i] += seen[i] < 2;
|
||||
++seen[i];
|
||||
struct link_map *thisp = maps[i];
|
||||
|
||||
/* Do not handle ld.so in secondary namespaces and object which
|
||||
|
Loading…
Reference in New Issue
Block a user