public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Torsten Mohr <tmohr@s.netic.de>
To: insight@sources.redhat.com
Subject: insight-6.0: error loading an ELF (target arm-unknown-elf)
Date: Thu, 20 Nov 2003 14:02:00 -0000	[thread overview]
Message-ID: <200311201448.49867.tmohr@s.netic.de> (raw)

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.

             reply	other threads:[~2003-11-20 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 14:02 Torsten Mohr [this message]
2003-11-20 15:33 ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311201448.49867.tmohr@s.netic.de \
    --to=tmohr@s.netic.de \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).