[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: |
amodra at gmail dot com |
Subject: |
[Bug binutils/25237] Strip leaves file offset of empty PT_LOAD segment point past end of file |
Date: |
Sun, 01 Dec 2019 01:27:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25237
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
It looks to me like your fix ignores the following comment, and will therefore
cause problems with other loaders.
/* We shouldn't need to align the segment on disk since
the segment doesn't need file space, but the gABI
arguably requires the alignment and glibc ld.so
checks it. So to comply with the alignment
requirement but not waste file space, we adjust
p_offset for just this segment.
--
You are receiving this mail because:
You are on the CC list for the bug.