This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: possible objcopy misfeature
- To: matt at vvisions dot com
- Subject: Re: possible objcopy misfeature
- From: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 16 Feb 2001 10:19:33 -0800
- CC: binutils at sourceware dot cygnus dot com, mail at stefan-geuken dot de
Hi Matthew,
: Hello. I'm not sure whether or not I've found a bug in the GNU
: binutils, so I will quickly pose my question here.
:
: I'm using the latest ports of objcopy (on several platforms) to
: convert a raw binary file to an object file that can be linked into
: a gcc program.
:
: $ objcopy -v -I binary -O coff-go32 input.bin output.o
: > copy from input.bin(binary) to output.o(coff-go32)
: > Warning: Output file cannot represent architecture UNKNOWN!
: $ nm output.o
: > c:/djgpp/bin/nm.exe: output.o: File format not recognized
:
: My question is: Is the arm-elf version of objcopy/binutils broken
: here, or are all the others? If so, what is the nature of the fix?
This sounds very much like the problem that was addressed by a patch
submitted by Stefan Geuken. The patch can be found at:
http://sources.redhat.com/ml/binutils/2001-02/msg00381.html
The patch has not gone into the sources yet, but you may be able to
make use of it in your own copy of the sources.
Cheers
Nick