Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164930121
D52034.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
D52034.id.diff
View Options
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -859,6 +859,10 @@
linkmap_add(obj_main);
linkmap_add(&obj_rtld);
+ LD_UTRACE(UTRACE_LOAD_OBJECT, obj_main, obj_main->mapbase,
+ obj_main->mapsize, 0, obj_main->path);
+ LD_UTRACE(UTRACE_LOAD_OBJECT, &obj_rtld, obj_rtld.mapbase,
+ obj_rtld.mapsize, 0, obj_rtld.path);
/* Link the main program into the list of objects. */
TAILQ_INSERT_HEAD(&obj_list, obj_main, next);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 5, 10:38 PM (3 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36033072
Default Alt Text
D52034.id.diff (514 B)
Attached To
Mode
D52034: rtld: Add UTRACE_LOAD_OBJECT traces for rtld and the main binary
Attached
Detach File
Event Timeline
Log In to Comment