Re: ELF and a.out as modules in 1.3.85

Eric S. Mountain (eric@minouche.demon.co.uk)
Wed, 10 Apr 1996 21:13:29 +0100 (BST)


Corey J. Stotts ecrivit:
>
> Is there any reason that 'make config' allows you to compile kernel support for ELF and
> a.out as modules? I've tried this, and when building the kernel there are errors finding
> the _start symbol in a couple of objects.

Yes: suppose you have upgraded to ELF, but still want to run the
occasional a.out program - by compiling the a.out kernel-level
support as a module you save a couple of k of memory.

> When it first builds vmlinux (before linking with misc.o, etc) it says:
>
> ld: waring: cannot find entry symbol _start; defaulting to 000fffe0

You can't answer 'M' to _both_ a.out and ELF I think. After all, you
need to be able to run kerneld / insmod before you can even start
loading modules, so if a.out and ELF are both in modules, you've got a
bit of a catch-22. :)

:E

-- 
Eric S. Mountain  -  eric@minouche.demon.co.uk

"To be, or not to be."--Hamlet "Do-bee-do-bee-do."--Sinatra