Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162978271
D51924.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
647 B
Referenced Files
None
Subscribers
None
D51924.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
@@ -3031,7 +3031,7 @@
}
obj->mapbase = __DECONST(caddr_t, addr);
- obj->mapsize = segn->p_vaddr + segn->p_memsz - (Elf_Addr)addr;
+ obj->mapsize = segn->p_vaddr + segn->p_memsz;
obj->vaddrbase = 0;
obj->relocbase = obj->mapbase;
@@ -3060,7 +3060,8 @@
linkmap_add(obj); /* for GDB & dlinfo() */
max_stack_flags |= obj->stack_flags;
- LD_UTRACE(UTRACE_LOAD_OBJECT, obj, obj->mapbase, 0, 0, obj->path);
+ LD_UTRACE(UTRACE_LOAD_OBJECT, obj, obj->mapbase, obj->mapsize, 0,
+ obj->path);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 9:12 PM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35242070
Default Alt Text
D51924.diff (647 B)
Attached To
Mode
D51924: rtld-elf: Fix VDSO Obj_Entry mapsize and report in utrace(2)
Attached
Detach File
Event Timeline
Log In to Comment