This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Objcopy fix for relocation sections


On Tue, Aug 03, 2004 at 06:56:01PM -0400, Daniel Jacobowitz wrote:
> 	* elf.c (assign_file_positions_except_relocs): Revert unintended
> 	change from 2004-04-08.

Oops, please fix.

> 	(_bfd_elf_set_section_contents): Call
> 	_bfd_elf_assign_file_positions_for_relocs when starting output
> 	for executables and shared libraries.

Doesn't this break mips?  For example, I see an assignment to
rel_hdr->sh_size in mips_elf64_write_rel.  That size should determine
section placement, but you're doing the placement before
mips_elf64_write_rel is called.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]