public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Jesper Skov <jskov@cambridge.redhat.com>
Cc: ANDRE Sébastien <sebastien.andre@sxb.bsf.alcatel.fr>,
	ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] arm-elf-gcc comprehension
Date: Fri, 29 Jun 2001 07:22:00 -0000	[thread overview]
Message-ID: <3B3C8F0F.C6E63629@redhat.com> (raw)
In-Reply-To: <ot3d8jvddl.fsf@zoftcorp.adsl.dk>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Jesper Skov wrote:
> 
> >>>>> "ANDRE" == ANDRE Sébastien <sebastien.andre@sxb.bsf.alcatel.fr> writes:
> 
> ANDRE> WHAT IS HAPPENED !!!??? Why it's an elf-executable ? and not an
> ANDRE> object file ???
> 
> All object files are ELF files.

Heh. Yes, and presumably becaues the sim is happy with the offsets from 0
it all works even though it hasn't been relocated.

As for why it didn't work without being full linked, I would say that for:

arm-elf-gcc -Wl,--gc-sections -o test test.o -nostdlib

if you aren't linking in crt0.o (due to -nostdlib) then there's no
reference to main. The tools should complain, but for some reason they
aren't.

This is off-topic for the eCos list anyway.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

      reply	other threads:[~2001-06-29  7:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 23:50 [ECOS] Newbie - Help booting ECOS Nagendra EM
2001-06-29  1:12 ` [ECOS] arm-elf-gcc comprehension ANDRE Sébastien
2001-06-29  2:22   ` ANDRE Sébastien
2001-06-29  2:34     ` Jesper Skov
2001-06-29  7:22       ` Jonathan Larmour [this message]

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=3B3C8F0F.C6E63629@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jskov@cambridge.redhat.com \
    --cc=sebastien.andre@sxb.bsf.alcatel.fr \
    /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).