PATCH: Preserve segment physical address only if needed

Alan Modra amodra@bigpond.net.au
Sat Nov 25 00:12:00 GMT 2006


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



More information about the Binutils mailing list