[PATCH] fix objcopy PE -> ELF conversion

Daniel Jacobowitz drow@false.org
Tue Oct 23 11:40:00 GMT 2007


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



More information about the Binutils mailing list