When I try to use objcopy to convert PE-exe's to ELF-executables i get the following warnings:
objcopy -O elf32-i386 -S -g -x -X base64.exe base64.elf BFD: base64.elf: warning: allocated section `.text' not in segment BFD: base64.elf: warning: allocated section `.data' not in segment BFD: base64.elf: warning: allocated section `.rdata' not in segment BFD: base64.elf: warning: allocated section `.idata' not in segment The resulting ELF (as the warnings imply) doesn't contain a single entry in the program header. I tested 10 other PE-EXEs with the same outcome. This happens with objcopy under Cygwin, version 2.18.50.20080523 and version 2.18.50.20080625. A year or so ago I had a version installed which would convert PE-EXE to valid ELF files. But unfortunately I can't remember which version that was. -- Summary: (cygwin) objcopy converts PE to invalid ELF Product: binutils Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: de at iru dot ch CC: bug-binutils at gnu dot org GCC host triplet: i686-pc-cygwin http://sourceware.org/bugzilla/show_bug.cgi?id=6789 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils