lkml.org 
[lkml]   [1996]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ELF and a.out as modules in 1.3.85
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.107 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site