bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28689] p_align in ELF program headers should not exceed se


From: i at maskray dot me
Subject: [Bug binutils/28689] p_align in ELF program headers should not exceed section alignment
Date: Tue, 14 Dec 2021 05:24:00 +0000

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

Fangrui Song <i at maskray dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray dot me

--- Comment #4 from Fangrui Song <i at maskray dot me> ---
(In reply to H.J. Lu from comment #2)
> One problem:
> [...]
> File offsets are changed.

For objcopy, it is important to not transform the file to decrease the
intrinsic max-page-size. This would make the output not runnable on the
originally supported systems.

If ld decreases p_align to reduce wasted memory pages, can you describe how the
objcopy problem (inferring max-page-size) will be solved?
Note that max-page-size can be trick to infer in the -z noseparate-code case.

-- 
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]