Subject: Re: M68K and ELF
To: Adam Ciarcinski <adam@pulstar.albedo.com.pl>
From: Klaus Klein <kleink@ira.uka.de>
List: current-users
Date: 07/19/1999 11:48:20
Adam Ciarcinski <adam@pulstar.albedo.com.pl> writes:

> BTW: has anybody tried to compile and run some ELFs?

Yes, I did.  However, you won't find a notice that ELF on m68k is
ready yet (a few bits of code in the tree aren't an official
indicator) anywhere, and in fact the code isn't.

Missing pieces include:

 * a couple of PIC syntax changes to libc assembly language source
   files which haven't been committed yet,

 * assembly language sources need to be changed to use a '%' to prefix
   register names to avoid ambiguous situation in presence of symbol
   names not prefixed with '_',

 * dealing with ABI changes caused by different (structure) alignment
   constraints defined in the System V ABI, and

 * kernel land: except for the hp300 port (and probably next68k), I
   except quite some grief due to assembly language source files not
   using _C_LABEL() but being `smart' and manually prefixing C label
   names with an underscore; fixing this will be left to the
   respective port maintainers.  Also, kernel boot/load procedures
   have not been touched yet.

(Executive summary: don't even think about building anything ELF-like
on m68k platforms yet.)


-kjk