[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] ELF



On Wed, 16 Mar 2016 21:21:22 , Peter Slegg <p.slegg@scubadivers.co.uk> wrote:

While working my way through some Oracle tech debt I was pondering
ELF some more.

It's beyond my C skills but how about creating a test:

1. build a "Hello ELF World" app with gcc (static linked)
2. take the u-boot code (licences permitting) and create an app
   that can load an ELF app and execute it.

This would avoid having to integrate with the kernel from the outset.


Peter

talking to myself again ;-)


>
> >Linux statically linked programs:
> > http://eli.thegreenplace.net/2012/08/13/how-statically-linked-programs-run-on-linux/
> >
> >u-boot:
> > http://git.denx.de/?p=u-boot.git;a=blob;f=common/cmd_efi.c;h=c76296e7259f6b8e5b40148e894a2f953ba0ffdb;hb=9dffa52da8f3fd23fe38ee184512b2a08678d933
> >
> >ELF FAQ:
> > http://www.pix.net/software/bsdos/elf_faq.html
>
>
>