public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight-6.0: error loading an ELF (target arm-unknown-elf)
@ 2003-11-20 14:02 Torsten Mohr
  2003-11-20 15:33 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Torsten Mohr @ 2003-11-20 14:02 UTC (permalink / raw)
  To: insight

Hi,

i have a small "hello world" example for an ARM
evaluation board.   It worked fine with previos
toolchains (binutils, gcc, insight).

But insight-6.0 refuses to load the ELF (filename "main"):

Error loading "path/main":
 bad offset (0x20206a6) in compilation unit header
(offset 0x0 + 6) [in module /path/main]


The whole project with generated objects, the final ELF,
the linker script and Makefile is located at:

http://www.s.netic.de/tmohr/eb01.tar.bz2 (~ 14k)

I use the latest tool chain:
binutils-2.14
gcc-3.3.2
insight-6.0

I don't think the error is in insight, but i'm really
interested in what this error message means, it doesn't
mean anything to me at the moment.  As readelf and objcopy
work fine, it might be some information in the debug
sections?


Where is the error located, is it (my project), binutils,
gcc or insight?  Or what else?


Thanks for any hints,
Torsten.

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

end of thread, other threads:[~2003-11-20 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20 14:02 insight-6.0: error loading an ELF (target arm-unknown-elf) Torsten Mohr
2003-11-20 15:33 ` Keith Seitz

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).