* elf/dl-deps.c (_dl_map_object_deps): The sorting of the
	dependencies must be stable to work correctly.
	Reported by martin.lubich@datacon.at.
This commit is contained in:
Ulrich Drepper 2002-04-03 06:18:49 +00:00
parent 3384a8d67c
commit 8693ad52d9
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2002-04-02 Ulrich Drepper <drepper@redhat.com>
* elf/dl-deps.c (_dl_map_object_deps): The sorting of the
dependencies must be stable to work correctly.
Reported by martin.lubich@datacon.at.
* libio/bug-ungetwc1.c: New file.
* libio/Makefile (tests): Add bug-ungetwc1.

View File

@ -614,6 +614,10 @@ Filters not supported with LD_TRACE_PRELINKING"));
(k - j) * sizeof (struct link_map *));
map->l_initfini[j] = here;
/* Don't insert further matches before the last
entry moved to the front. */
++j;
break;
}
}