Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157549545
D26352.id76739.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
871 B
Referenced Files
None
Subscribers
None
D26352.id76739.diff
View Options
Index: libexec/rtld-elf/rtld.c
===================================================================
--- libexec/rtld-elf/rtld.c
+++ libexec/rtld-elf/rtld.c
@@ -3636,23 +3636,6 @@
if (obj->marker)
continue;
res = symlook_obj(&req, obj);
- if (res == 0) {
- if (def == NULL ||
- ELF_ST_BIND(req.sym_out->st_info) != STB_WEAK) {
- def = req.sym_out;
- defobj = req.defobj_out;
- if (ELF_ST_BIND(def->st_info) != STB_WEAK)
- break;
- }
- }
- }
- /*
- * Search the dynamic linker itself, and possibly resolve the
- * symbol from there. This is how the application links to
- * dynamic linker services such as dlopen.
- */
- if (def == NULL || ELF_ST_BIND(def->st_info) == STB_WEAK) {
- res = symlook_obj(&req, &obj_rtld);
if (res == 0) {
def = req.sym_out;
defobj = req.defobj_out;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 5:28 PM (9 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33450813
Default Alt Text
D26352.id76739.diff (871 B)
Attached To
Mode
D26352: rtld: Switch to the standard symbol lookup behavior if LD_DYNAMIC_WEAK=0
Attached
Detach File
Event Timeline
Log In to Comment