svn commit: r343694 - stable/11/libexec/rtld-elf
Konstantin Belousov
kib at FreeBSD.org
Sun Feb 3 00:44:27 UTC 2019
Author: kib
Date: Sun Feb 3 00:44:26 2019
New Revision: 343694
URL: https://svnweb.freebsd.org/changeset/base/343694
Log:
MFC r343484:
Remove now redundand ifunc relocation code which should have been
removed as part of r341441.
Modified:
stable/11/libexec/rtld-elf/rtld.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/11/libexec/rtld-elf/rtld.c Sun Feb 3 00:41:14 2019 (r343693)
+++ stable/11/libexec/rtld-elf/rtld.c Sun Feb 3 00:44:26 2019 (r343694)
@@ -2877,16 +2877,6 @@ relocate_object(Obj_Entry *obj, bool bind_now, Obj_Ent
lockstate) == -1)
return (-1);
- /*
- * Process the non-PLT IFUNC relocations. The relocations are
- * processed in two phases, because IFUNC resolvers may
- * reference other symbols, which must be readily processed
- * before resolvers are called.
- */
- if (obj->non_plt_gnu_ifunc &&
- reloc_non_plt(obj, rtldobj, flags | SYMLOOK_IFUNC, lockstate))
- return (-1);
-
if (!obj->mainprog && obj_enforce_relro(obj) == -1)
return (-1);
More information about the svn-src-stable-11
mailing list