From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: jlarmour@cygnus.co.uk Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] Re: CPU Ports for eCos Date: Wed, 28 Apr 1999 12:04:00 -0000 Message-id: <19990428190359.639.qmail@daffy.airs.com> References: <00f201be90f1$50c61730$63a1883e@plath.Workgroup> <199904281459.PAA31602@peshwari.cygnus.co.uk> <199904281459.PAA31602@peshwari.cygnus.co.uk> X-SW-Source: 1999-04/msg00039.html 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