public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* binary to elf conversion
@ 2007-08-16 14:55 Joel Sherrill
  2007-08-16 16:20 ` Sergei Organov
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joel Sherrill @ 2007-08-16 14:55 UTC (permalink / raw)
  To: binutils, Ralf Corsepius

Hi,

I think something broke for converting binary
files to elf using objcopy.  I know I did this before
but can't seem to find a binutils that can do
this now.  I have tried both the RTEMS testing
version (a pre 2.18 snapshot) and our
stable repositories (something older)
and neither is able to link with the object file produced by objcopy'ing
a binary file  to a .o.

/opt/rtems-4.8/lib/gcc/powerpc-rtems4.8/4.2.1/../../../../powerpc-rtems4.8/bin/ld: 
unknown architecture of input file `o-optimize/tarfile.o' is 
incompatible with powerpc:common output

Produced by this command:

powerpc-rtems4.8-objcopy -I binary -O elf32-powerpc tarfile 
o-optimize/tarfile.o

I tried mips and i386 and both fail with similar errors.

Is this working for anyone else on any target?

--joel

Can anyone do this

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-08-22  1:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-16 14:55 binary to elf conversion Joel Sherrill
2007-08-16 16:20 ` Sergei Organov
2007-08-16 16:28 ` Andreas Schwab
2007-08-16 17:39   ` Joel Sherrill
2007-08-16 18:04     ` Mike Frysinger
2007-08-17 14:08       ` Maciej W. Rozycki
2007-08-19 17:10         ` Mike Frysinger
2007-08-20 19:54           ` Joel Sherrill
2007-08-22  1:29             ` Segher Boessenkool
2007-08-16 19:55 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).