git: rtld - Fix ifunc relocations
dillon at crater.dragonflybsd.org
Tue Dec 5 00:15:24 PST 2017
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Dec 5 00:14:20 2017 -0800
rtld - Fix ifunc relocations
* ifunc relocations had a bug that caused an immediate seg-fault.
Apparently this type of relocation is not used very much, we've
never encountered it before. But the qemu port uses it.
* Fix the bug. Basically missing lockstate and the top level in
rtld was expected to hold the bind lock.
Summary of changes:
libexec/rtld-elf/rtld.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
DragonFly BSD source repository
More information about the Commits