[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/6789] New: (cygwin) objcopy converts PE to invalid ELF
From: |
de at iru dot ch |
Subject: |
[Bug binutils/6789] New: (cygwin) objcopy converts PE to invalid ELF |
Date: |
30 Jul 2008 19:55:04 -0000 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/6789] New: (cygwin) objcopy converts PE to invalid ELF,
de at iru dot ch <=