Re: objcopy elf32-i386 to pe-i386 breaks R_386_32 relocations

2008-05-30 Thread Dave Denholm
Nick Clifton <[EMAIL PROTECTED]> writes: > Hi Dave, > > >I think there's a bug in the way objcopy handles R_386_32 (absolute > > 32-bit) relocation entries when translating from elf to pe-i386 > > (windows) object files. > > > > The symptom is that R_386_32 relocations in elf get translated

Re: objcopy elf32-i386 to pe-i386 breaks R_386_32 relocations

2008-05-30 Thread Nick Clifton
Hi Dave, Is this considered a bug, or a design compromise, in objcopy ? Ie is it something that will get fixed if someone cares enough, or is it not something that it was ever intended to do (and so a patch would be rejected) ? It is a design compromise. Translating relocs is a very difficult

Re: objcopy elf32-i386 to pe-i386 breaks R_386_32 relocations

2008-05-30 Thread Nick Clifton
Hi Dave, I think there's a bug in the way objcopy handles R_386_32 (absolute 32-bit) relocation entries when translating from elf to pe-i386 (windows) object files. The symptom is that R_386_32 relocations in elf get translated into DIR16 entries in the pe-i386. (Or perhaps just not trans

objcopy elf32-i386 to pe-i386 breaks R_386_32 relocations

2008-05-22 Thread Dave Denholm
Hi, I think there's a bug in the way objcopy handles R_386_32 (absolute 32-bit) relocation entries when translating from elf to pe-i386 (windows) object files. I first found it running cygwin objcopy on windows, and reproduced it on linux. cygwin version is E:\>c:\cygwin\bin\objcopy --versio