This is the mail archive of the binutils@sourceware.org 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: [PATCH] fix objcopy PE -> ELF conversion


On Mon, Oct 22, 2007 at 09:02:39PM +0200, Christian Franke wrote:
> Objcopy cannot convert pe-i386 to elf32-i386. The offsets of the pc-relative 
> relocation entries are not converted properly.
> (http://sourceware.org/bugzilla/show_bug.cgi?id=970)

As HJ said, this should be done in BFD, not in objcopy.c.  Maybe the
generic BFD_RELOC_32_PCREL should not be used for the slightly
different PE semantics?  That'd prevent BFD making the conversion.

-- 
Daniel Jacobowitz
CodeSourcery


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