bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25237] Strip leaves file offset of empty PT_LOAD segment p


From: balint at balintreczey dot hu
Subject: [Bug binutils/25237] Strip leaves file offset of empty PT_LOAD segment point past end of file
Date: Tue, 03 Dec 2019 13:50:33 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25237

--- Comment #6 from Balint Reczey <balint at balintreczey dot hu> ---
Created attachment 12101
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12101&action=edit
Patch adjusting offset honoring page alignment

In my test with the previous patch p_offset mod page_size indeed did not match
p_vaddr mod page_size. However the tested binary (gzip) worked ok, but I see
that it is not guaranteed to work everywhere.

This newer patch ensures that p_offset's alignment is kept.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]