This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: linker enhancements
On Thu, Mar 18, 2004 at 07:27:51PM -0500, Daniel Jacobowitz wrote:
> On Fri, Mar 19, 2004 at 10:23:00AM +1030, Alan Modra wrote:
> > Will you have all dirs converted over to current auto-tools?
>
> Unlikely.
A pity.
> > I need to look at that mips problem too.
>
> Which?
Index: bfd/elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.218
diff -u -p -r1.218 elf.c
--- bfd/elf.c 5 Mar 2004 11:26:04 -0000 1.218
+++ bfd/elf.c 18 Mar 2004 10:14:34 -0000
@@ -4255,9 +4255,7 @@ assign_file_positions_except_relocs (bfd
off = _bfd_elf_assign_file_position_for_section (hdr, off,
FALSE);
}
- else if (hdr->sh_type == SHT_REL
- || hdr->sh_type == SHT_RELA
- || hdr == i_shdrpp[tdata->symtab_section]
+ else if (hdr == i_shdrpp[tdata->symtab_section]
|| hdr == i_shdrpp[tdata->symtab_shndx_section]
|| hdr == i_shdrpp[tdata->strtab_section])
hdr->sh_offset = -1;
--
Alan Modra
IBM OzLabs - Linux Technology Centre