This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project. See the eCos home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [ECOS] Re: CPU Ports for eCos


   Date: Wed, 28 Apr 1999 15:59:42 +0100
   From: jlarmour@cygnus.co.uk (Jonathan Larmour)

   >In the medium to long term, yes. Technically ELF is superior to older
   >object formats such as a.out and COFF, it makes it much easier to
   >implement facilities such as constructor priority ordering and
   >selective linking.

   Just to add my 2p, I believe it would be possible to get things to work
   with ECOFF too, but it would require similar modifications to gcc/gld that
   were made to the ELF support to support constructor priority ordering. I
   believe a.out and vanilla COFF would be as good as impossible to do though.

ECOFF can't support arbitrary sections.  ECOFF relocs only support a
limited number of sections.  Look for RELOC_SECTION in
include/coff/ecoff.h in a GNU binutils or gdb release.

Ian