Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108635477
D25550.id74029.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
885 B
Referenced Files
None
Subscribers
None
D25550.id74029.diff
View Options
Index: libexec/rtld-elf/rtld.c
===================================================================
--- libexec/rtld-elf/rtld.c
+++ libexec/rtld-elf/rtld.c
@@ -3111,7 +3111,8 @@
return (0);
obj->ifuncs_resolved = true;
if (!obj->irelative && !obj->irelative_nonplt &&
- !((obj->bind_now || bind_now) && obj->gnu_ifunc))
+ !((obj->bind_now || bind_now) && obj->gnu_ifunc) &&
+ !obj->non_plt_gnu_ifunc)
return (0);
if (obj_disable_relro(obj) == -1 ||
(obj->irelative && reloc_iresolve(obj, lockstate) == -1) ||
@@ -3119,6 +3120,8 @@
lockstate) == -1) ||
((obj->bind_now || bind_now) && obj->gnu_ifunc &&
reloc_gnu_ifunc(obj, flags, lockstate) == -1) ||
+ (obj->non_plt_gnu_ifunc && reloc_non_plt(obj, &obj_rtld,
+ SYMLOOK_EARLY | SYMLOOK_IFUNC, lockstate) == -1) ||
obj_enforce_relro(obj) == -1)
return (-1);
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 12:36 AM (10 h, 21 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16227761
Default Alt Text
D25550.id74029.diff (885 B)
Attached To
Mode
D25550: Handle non-PLT GNU IFUNC relocations in rtld
Attached
Detach File
Event Timeline
Log In to Comment