diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-10-25 13:30:44 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2011-10-25 13:33:12 +0200 |
commit | 16437fece4208f299972a5f7e3fc04b2d4402334 (patch) | |
tree | ff461bbe8a21736f95c9fdce7a257c1f237f7bde /elf/dl-deps.c | |
parent | 31d3cc00b0cc5205b4b4efd73c911cfddff444c6 (diff) | |
download | glibc-16437fece4208f299972a5f7e3fc04b2d4402334.zip glibc-16437fece4208f299972a5f7e3fc04b2d4402334.tar.gz glibc-16437fece4208f299972a5f7e3fc04b2d4402334.tar.bz2 |
Small optimization of dependency sorting
Diffstat (limited to 'elf/dl-deps.c')
-rw-r--r-- | elf/dl-deps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c index 7fa4d69..95b1088 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -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 |