DragonFly commits List (threaded) for 2012-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: rtld: Perform reloc before filtree dependency object init
commit 26dd35c9bbbbeffac40d091e7df63b02e7e2f078
Author: John Marino <draco@marino.st>
Date: Mon Aug 20 21:27:06 2012 +0200
rtld: Perform reloc before filtree dependency object init
Ensure that for the object which is a dependency of some filtree,
relocations are performed before the object's initializer is called.
While dlopen()ing an object, relocate the whole DAG rooted in the
object instead of only relocating the object itself and list of newly
loaded dependencies.
Reversed sequence currently can occur if the same object is a
dependency for both filtree and filter since filtrees are loaded typically
during the relocation processing when some filter dependencies might be
already loaded but not yet relocated.
Taken-from: FreeBSD SVN 237659 (27 June 2012)
Summary of changes:
libexec/rtld-elf/rtld.c | 82 +++++++++++++++++++++++++++++++++++-----------
1 files changed, 62 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/26dd35c9bbbbeffac40d091e7df63b02e7e2f078
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]