From: Bart Veer <bartv@redhat.com>
To: tomyeh@infoshock.com
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] i386/Windows target?
Date: Fri, 02 Jun 2000 06:31:00 -0000 [thread overview]
Message-ID: <200006021331.OAA28911@sheesh.cygnus.co.uk> (raw)
In-Reply-To: <NCBBLBHKHIHIHIAOPHIIGENECCAA.tomyeh@infoshock.com>
>>>>> "Tom" == Tom M Yeh <tomyeh@infoshock.com> writes:
Tom> Thanks for your information. However, I wonder why eCos
Tom> demands ELF. Can we use the native compiler for Cygwin
Tom> (i686-pc-cygwin-*)? Don't the PowerPC version use another
Tom> format?
The configure triplet for powerpc specifies eabi, but this is just ELF
with some minor additions/tweaks/clarifications.
eCos does not specifically demand ELF, in that there is nothing in the
source code which knows about ELF executables. However it does require
the following:
1) constructor priority ordering. This is most easily implemented by
putting the static objects into appropriately numbered linker
sections, and sorting them in the linker script. So you need an
image format which supports lots of linker sections.
2) linker garbage collection, also known as selective linking. This is
most easily implemented by putting every function and variable into
its own linker section. Strictly speaking this is not absolutely
necessary, but without it the final executables will be
significantly bigger than necessary. Arguably this is not so much
of a problem when using a synthetic target.
3) weak symbol support.
ELF can handle all of this. Older image formats typically cannot, e.g.
there are likely to be strict limits on the number of linker sections
you can create. I do not know exactly what the limitations are in the
image format currently used by Windows, so I cannot comment further.
Bart Veer // eCos net maintainer
next prev parent reply other threads:[~2000-06-02 6:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-31 2:01 Tom M. Yeh
2000-06-01 9:52 ` Bart Veer
2000-06-01 22:36 ` Tom M. Yeh
2000-06-02 6:31 ` Bart Veer [this message]
2000-06-02 7:56 ` Jonathan Larmour
2000-06-02 9:56 ` Ian Lance Taylor
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=200006021331.OAA28911@sheesh.cygnus.co.uk \
--to=bartv@redhat.com \
--cc=ecos-discuss@sourceware.cygnus.com \
--cc=tomyeh@infoshock.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).