Fix objcopy on prelinked MIPS binaries

Joseph S. Myers joseph@codesourcery.com
Thu Oct 25 14:08:00 GMT 2007


On Thu, 25 Oct 2007, Thiemo Seufer wrote:

> Alan Modra wrote:
> > On Wed, Oct 24, 2007 at 11:36:30PM +0000, Joseph S. Myers wrote:
> > > 	* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add
> > > 	PT_NULL header when not linking.
> > 
> > Looks reasonable to me.  Please remove ATTRIBUTE_UNUSED when
> > committing.
> 
> I think this should go to the 2.18 branch as well, so it's included in
> case there's a point release done.

I think it would cause extra test failures there without

2007-09-24  Daniel Jacobowitz  <dan@codesourcery.com>

        * elf.c (assign_file_positions_for_load_sections): Trust
        p_align_valid.
        (copy_elf_program_header): Copy PT_NULL segments.

which isn't currently on the branch.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Binutils mailing list