From f3fd569c365ca5149fedbbc6c7a902aa1f8e5b60 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 22 Aug 2012 00:43:21 +0000 Subject: rtld: limit self loading check to normal mode only Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault that used to happen when rtld was loading itself in normal mode. Unfortunately, that commit disallowed all modes of self loading, including those that used to work before. This change limits the check for self loading to normal mode only, so that instruments like ldd could handle rtld properly. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ffdcfc1eb2..a77ef92d76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-09-19 Dmitry V. Levin + + [BZ #14579] + * elf/rtld.c (dl_main): Limit the check for self loading to normal + mode only. + * elf/tst-rtld-load-self.sh: New test. + * elf/Makefile: Run it. + 2012-09-18 Joseph Myers * sysdeps/wordsize-64/Makefile [$(subdir) = misc] -- cgit 1.4.1