Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F32137180
raw-paste-data.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
jrtc27
Nov 16 2021, 11:22 PM
2021-11-16 23:22:39 (UTC+0)
Size
521 B
Referenced Files
None
Subscribers
None
raw-paste-data.txt
View Options
diff --git a/lib/libpmcstat/libpmcstat_image.c b/lib/libpmcstat/libpmcstat_image.c
index 9ee7097e95ec..6131c2a3ff00 100644
--- a/lib/libpmcstat/libpmcstat_image.c
+++ b/lib/libpmcstat/libpmcstat_image.c
@@ -415,8 +415,7 @@ pmcstat_image_get_elf_params(struct pmcstat_image *image,
ph.p_offset);
break;
case PT_LOAD:
- if ((ph.p_flags & PF_X) != 0 &&
- (ph.p_offset & (-ph.p_align)) == 0)
+ if (image->pi_vaddr == 0)
image->pi_vaddr = ph.p_vaddr & (-ph.p_align);
break;
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4231587
Default Alt Text
raw-paste-data.txt (521 B)
Attached To
Mode
P529 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment