This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Preserve segment physical address only if needed
On Fri, Nov 24, 2006 at 09:19:25AM -0800, H. J. Lu wrote:
> 2006-11-23 H.J. Lu <hongjiu.lu@intel.com>
>
> * elf.c (IS_SECTION_IN_INPUT_SEGMENT): New.
> (INCLUDE_SECTION_IN_SEGMENT): Use IS_SECTION_IN_INPUT_SEGMENT.
> (rewrite_elf_program_header): Don't preserve segment physical
> address in the output segment if the first section in the
> corresponding input segment is removed.
This version is OK.
--
Alan Modra
IBM OzLabs - Linux Technology Centre